PHP’de Türkçe Karakterleri Büyük Harfe Dönüştürmek – strtoupper turkish

[code lang=”php”]function strtoupperTR($str)
{
$str = str_replace(array(‘i’, ‘ı’, ‘ü’, ‘ğ’, ‘ş’, ‘ö’, ‘ç’), array(‘İ’, ‘I’, ‘Ü’, ‘Ğ’, ‘Ş’, ‘Ö’, ‘Ç’), $str);
return strtoupper($str);
}[/code]

Kaynak: http://forum.ceviz.net/php/41571-strtoupper-hakkinda.html

Leave a Reply

Your email address will not be published. Required fields are marked *