Created
October 5, 2014 21:07
-
-
Save saltun/10a3ad73bb3f2f5b25f2 to your computer and use it in GitHub Desktop.
Karakter Düzeltme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$yazi="SavaÅ Can Altun "; | |
$ara = array ('ı','Å?','ü','ç','ö','Ä?','ÅŸ','Ç','Ä°','ÄŸ','Åž','Ö','Ãœ','ı','Å?','ç','ö','Ä?','ÅŸ','Ç','Ä°','ÄŸ','Åž','Ö','Ãœ','ü','ÄŸ'); | |
$degis = array ('ı','ş','ü','ç','ö','ğ','ş','Ç','i','ğ','Ş','Ö','Ü','ı', 'ş', 'ç', 'ö', 'ğ', 'ş', 'Ç', 'i', 'ğ', 'Ş', 'Ö', 'Ü', 'ü', 'ğ'); | |
$yazi = str_replace($ara, $degis, $yazi); | |
echo $yazi; // Savaş Can Altun | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment