Log in

View Full Version : vReWrite Non-English Character problem


DavutPasha
07-26-2006, 10:00 AM
How can I Replace Non-English Characters in URLs?

I want to replace;

'Č' => 'c',
'č' => 'c',
'Ğ' => 'g',
'ğ' => 'g',
'Ş' => 's',
'ş' => 's',
'İ' => 'i',
'ı' => 'i',
'?' => 'c',
'?' => 'c',
'?' => 'u',
'?' => 'u',
'?' => 'o',
'?' => 'o',
'ı' => 'i',
'İ' => 'i',
'?' => 'i',
'?' => 'a',
'?' => 'e',
'?' => 'a',
'?' => 'e');

How can I do that, any idea? Also German sites should have same problem :)

MrZeropage
07-26-2006, 10:05 AM
str_replace("Č","c",$url);
ect.

DavutPasha
07-26-2006, 01:48 PM
Thanks but where? :)
There is just a xml file. Should I add "str_replace("Č","c",$url);" into the xml file and I reupload it?

ehsanix
10-13-2006, 08:39 PM
please help me
i have the same problem
thank u

Marco van Herwaarden
10-14-2006, 11:39 AM
If you have a question about a modification, please post in the thread/forum for this modification.