php utf8 encode

From: Date: Fri, 22 Nov 2002 13:31:07 +0000
Subject: php utf8 encode
Groups: php.i18n 
Request: Send a blank email to php-i18n+get-350@lists.php.net to get a copy of this message
Hi, The problem is that flash MX works mainly with Unicode, so in my php/mysql scripts i must generate an utf-8 output to communicate with it. This is a local case not the whole site, so i only want to convert a few string in utf-8 and the flash to call the url (php script) and that's all. I'm situated in Bulgaria and my test platform is Windows XP/Apache 2/PHP 4.2.2 as module. MySQL is set for ISO-8859-1 character set. I don't know php default character set, assume it's the same or win1251. When i used utf8_encode() echo utf8_encode("&names$i=".$names); it dosen't seem at all to produce utf-8 encode, because when i saw the result in IExplorer with utf-8 encoding the chars was wrong. i try some things with mb package, but the result was nothing. if somebody knows which is the correct steps to make php to convert maybe ISO-8859-1 to UTF-8 and to output UTF-8, please help me. best Regards P. P. ____________________________________________________ Какво е реклама в Интернет? - http://reklama.mail.bg

« previous php.i18n (#350) next »