phpBB SEO
Boards
Directory  
SEO  
Downloads
  phpBB SEO : Search Engine Optimization, Directory, Forums  
Index
Forums
Annuaire
Référencement
Télécharger
 
  Search Rechercher
    Register
Username :  Password :  Log me on automatically each visit  
S'enregistrer  
 
   
how can replace my Turkish character set

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB mod Rewrite  » Advanced mod Rewrite
::  
Author Message
sewiom



Joined: 26 Jan 2007
Posts: 2

how can replace my Turkish character setPosted: 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
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14403

how can replace my Turkish character setPosted: Fri Jan 26, 2007 2:30 pm    Post subject: Re: how can replace my Turkish character set

And welcome Very Happy

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 Wink

++

_________________
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
Visit poster's website
sewiom



Joined: 26 Jan 2007
Posts: 2

how can replace my Turkish character setPosted: Fri Jan 26, 2007 4:51 pm    Post subject: Re: how can replace my Turkish character set

Thank you dcz
: )
Back to top
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB mod Rewrite  » Advanced mod Rewrite
Page 1 of 1

Navigation Similar Topics

Jump to: