| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
sewiom
Joined: 26 Jan 2007 Posts: 2
|
Posted: Fri Jan 26, 2007 3:39 am Post subject: how can replace my Turkish character set |
|
|
hello
my language s Turkish and i want replace ğ,Ğ,ş,Ş,İ,ı,Ü,ü,ç,Ç,Ö,ö characters...
ğ,Ğ characters to g,G
ş,Ş characters to s,S
İ,ı characters to i,i
Ü,ü characters to u,u
ç,Ç characters to c,c
Ö,ö characters to o,o
Thank you for your help |
|
|
| Back to top |
|
 |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14403
|
Posted: Fri Jan 26, 2007 2:30 pm Post subject: Re: how can replace my Turkish character set |
|
|
And welcome
The problem in such case is char-set. the fix will depend on the one you're using.
The principle is easy, you just need to open phpbb_seo/phpbb_seo_class.php and find :
| Code: |
$url = str_replace (array('ü','Ü'), 'ue', $url); |
And after add :
| Code: | $url = str_replace (array('ğ','Ğ'), 'g', $url);
$url = str_replace (array("ı","İ"), 'i', $url);
$url = str_replace (array('ş','Ş'), 's', $url); |
The other characters should be already taken care of.
Then, depending on your char-set, it could be required to use another code to filter these.
But let's first try these
++ |
_________________ Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________
Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche |
|
| Back to top |
|
 |
sewiom
Joined: 26 Jan 2007 Posts: 2
|
Posted: Fri Jan 26, 2007 4:51 pm Post subject: Re: how can replace my Turkish character set |
|
|
Thank you dcz
: ) |
|
|
| Back to top |
|
 |
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |