Re: Re: Goba to the rescue! Part 2.

From: Date: Wed, 26 Mar 2003 19:25:23 +0000
Subject: Re: Re: Goba to the rescue! Part 2.
References: 1 2 3 4 5  Groups: php.gtk.doc 
Request: Send a blank email to php-gtk-doc+get-630@lists.php.net to get a copy of this message
case "$LANG" in ja|ko) ENCODING="UTF-8";; zh_tw|zh_hk) ENCODING="big5";; zh_cn) ENCODING="gb2312";; cs|hu|pl|ro|sk) ENCODING="ISO-8859-2";; ar) ENCODING="ISO-8859-6";; tr) ENCODING="ISO-8859-9";; he) ENCODING="ISO-8859-8";; ru) ENCODING="windows-1251";; *) ENCODING="ISO-8859-1";; esac So only ja and ko uses UTF-8, all the others use different encodings
;) That's most likely what J was emulating, then. But when I make an html build (any) of cs, which should be ISO-8859-2 (and which is encoded as such) I get err msgs saying that chars are out of range or (alternatively) that they are not UTF8 chars. This from xsltproc. Any clues? - or should I just experiment with making the whole lot UTF8?
If XML files contain an encoding specification, it should work. If they are without an encoding header, they are assumed to be UTF8 (as written in the XML spec). Goba

« previous php.gtk.doc (#630) next »