php-i18n Digest 22 Nov 2002 13:31:16 -0000 Issue 133
Topics (messages 350 through 350):
php utf8 encode
350 by: Stanislav
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin 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
--- End Message ---