Hi, Kevin Kee <[EMAIL PROTECTED]> 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 -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php