Re: doc-tw group needs help to fix "make" errors

From: Date: Sun, 09 Feb 2003 06:20:55 +0000
Subject: Re: doc-tw group needs help to fix "make" errors
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969351685@lists.php.net to get a copy of this message
Hi, Kevin Kee <kevin@kee.ath.cx> wrote: > --------------------------------------------- > What's wrong: > 1) The correct encoding for tw should be "BIG5", not "UTF-8" > 2) The correct language code for Traditional Chinese is "zh_tw", not "tw". > As a result, Tranditional Chinese fall into the "*" encoding group and hence becomes > "ISO-8859-1". > > So, there should be a line like > zh_tw|zh_hk) ENCODING="big5";; > in the "configure" file... Fixed. > Another file that contains an error is > > /home/xxx/phpdoc/dsssl/html-locale.dsl > > The last line of that dsl file is: > '(("META" ("HTTP-EQUIV" "Content-type") ("CONTENT" > "text/html; > charset=iso-8859-1")))) > > That results in the HTML file generated with a meta tag like: > <meta HTTP-EQUIV="Content-type" CONTENT="text/html; > charset=ISO-8859-1"> > which, again, result in wrong encoding. > > Again, that line in the dsl file should be: > '(("META" ("HTTP-EQUIV" "Content-type") ("CONTENT" > "text/html; > charset=big5")))) html-locale.dsl is automatically generated from html-locale.dsl.in on configure time, so you don't have to care about this if you have a correct configure.in Moriyoshi

« previous php.doc (#969351685) next »