For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > February 2005 > Re: [PHP-DOC] Character encoding problem









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-DOC] Character encoding problem
Nuno Lopes

2005-02-18, 3:56 pm

Hi,

I've made that change, because otherwise the manual couldn't be built. This
is because the localeconv.xml english page has a character that must be
represented in UTF-8.

Thats why I've proposed to start building all manuals in UTF-8 (and set the
phpweb headers to utf-8) to avoid these kind of problems. The english manual
also has this problem, because the manual is now built in utf-8 and the
headers say ISO-8859-1 (bug #31561).

Nuno


----- Original Message -----
> Hello!
>
> Checked today the hungarian manual on php.net. It built.
> But there's an issue with the character encoding. The header
> said it's a 8859-2 document but the contents are encoded
> in utf-8.
>
> I found this modification in phpdoc, and i think
> that wasn't correct:
>
> http://cvs.php.net/diff.php/phpdoc/...0&r2=1.211&ty=h
>
> --
> Heilig (Cece) Szabolcs

Xiaoyu Huang

2005-02-18, 3:56 pm

Derick Rethans wrote:
> On Fri, 18 Feb 2005, Nuno Lopes wrote:
>
>
>
>
> We already do that ;-)
>


I find that the Chinese manual hasn't been rebuild yet. and the http
default charset comes to utf-8. It makes the page broken if you don't
select charset to GB2312 manually.
Shall we convert all .xml to UTF-8?

yours,
Xiaoyu
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com