ilginç bir problem var.
charset=utf-8 olarak yaptım mysqlide utf8_unicode_ci
problem urlde. türkce olarak gözüküyor.
siteismi.com/8-ĞÜŞ
Özellikle charset=utf-8 yaptım , diğer dilleride desteklemem lazım.
urlnin türkce olması problem olurmu?
function RemoveBadURLChars($str)
{
$find[] = 'ğ';
$find[] = 'Ğ';
$find[] = 'ü';
$find[] = 'Ü';
$find[] = 's';
$find[] = 'Ş';
$find[] = 'ı';
$find[] = 'İ';
$find[] = 'ö';
$find[] = 'Ö';
$find[] = 'ç';
$find[] = 'Ç';
$replace[] = 'g';
$replace[] = 'G';
$replace[] = 'u';
$replace[] = 'U';
$replace[] = 's';
$replace[] = 'S';
$replace[] = 'i';
$replace[] = 'I';
$replace[] = 'o';
$replace[] = 'O';
$replace[] = 'c';
$replace[] = 'C';
return str_replace($find, $replace, $str);
}