Re: Page encoding
| From: | David Otton | Date: | Sat, 25 Oct 2003 22:19:08 +0000 |
| Subject: | Re: Page encoding | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-167582@lists.php.net to get a copy of this message | ||
On Sat, 25 Oct 2003 23:19:33 +0300, you wrote:
>I have to use windows-1251 encoding for my pages. But just inserting
><meta name="Content-type" value="text/html; enncoding=windows-1251">
>is
>not enough. What shold I do?
Meta tags are generally substitutes for headers. Declare the content-type
with a header() statement. Oh, and you have a typo in "enncoding".
(An aside, for anyone who's interested - good article on character encodings
here: http://www.joelonsoftware.com/articles/Unicode.html)