Re: opening utf-8 files - chinese mb characters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Merlin Morgenstern wrote:

> I use windows right click for this.
> 
> Actually I isolated the problem, but still I can't figure out how to
> solve it. The page is not utf-8, but ugb2312.
> 
> I am already sending the header through php:
> header("Content-Type: text/html; charset=ugb2312");
> 
> And with apache http.conf:
> AddDefaultCharset ugb2312

Shouldn't that be just gb2312 ?

> However firefox still claims that it is utf-8 which is causing the
> strange characters.

The encoding informnation is in the headers sent - try using e.g.
wget -S to see what your server is sending.  Or sent me a link
off-line, and I'll check for you.

/Per

-- 
Per Jessen, Zürich (10.0°C)


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux