Re: php utf8 encode
| From: | Javi Lavandeira | Date: | Fri, 22 Nov 2002 14:20:12 +0000 |
| Subject: | Re: php utf8 encode | ||
| References: | 1 | Groups: | php.i18n |
| Request: | Send a blank email to php-i18n+get-351@lists.php.net to get a copy of this message | ||
Hi,
On Fri, 22 Nov 2002 15:31:07 +0200 (EET) Stanislav <kick_tisho@mail.bg> wrote:
> 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.
Make sure that you send a META tag in the HTML output telling the browser about the encoding
you're using, something like:
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
Regards,
--
Javi Lavandeira (ag0ny@ag0ny.com) - http://www.ag0ny.com