Hello, I am in the process of converting my script to support multi languages. I am using utf8 for my charset and I have mysql and php configured to work with it. Now I just realized I don't have a way of typing utf8 special characters to test out my script. I live in the us and I just have a qwerty keyboard and I'm running Windows.. Does anyone if there there is any special software can allow me to enter special characters? Thanks.
I know some software can do that. you can try type Vietnamese with this tool , it is free unikey.org Why don't you search for foreign websites and copy their text, Most of Asian website use unicode utf-8.
i think you are looking for iconv!! heres and example from php.net ---------------------------------------------------------------------------------- If you need to strip as many national characters from UTF-8 as possible and keep the rest of input unchanged (i.e. convert whatever can be converted to ASCII and leave the rest), you can do it like this: <?php setlocale(LC_ALL, 'en_US.UTF8'); function clearUTF($s) { $r = ''; $s1 = iconv('UTF-8', 'ASCII//TRANSLIT', $s); for ($i = 0; $i < strlen($s1); $i++) { $ch1 = $s1[$i]; $ch2 = mb_substr($s, $i, 1); $r .= $ch1=='?'?$ch2:$ch1; } return $r; } echo clearUTF('Å ÃlenÄ› žluÅ¥ouÄký VaÅ¡ek úpÄ›l olol! This will remain untranslated: ᾡᾧῘàªàª¿à«®'); //outputs Silene zlutoucky Vasek upel olol! This will remain untranslated: ᾡᾧῘàªàª¿à«® ?> PHP: -- SOURCE -- http://uk2.php.net/manual/en/function.iconv.php
The Character Map that comes with Windows is a pretty good tool to get unicode characters. I am using XP and it Advanced View that lets you filter and group them.