Forum Moderators: phranque

Message Too Old, No Replies

Browser failed to read Big5 character set

Big5 problem

         

kennethckk

9:18 am on Jun 4, 2004 (gmt 0)

10+ Year Member



Hi all,
I have just installed an Apache 2.0.49 with the following config..
- Window XP professional (big5 language version)
- IE 6
- IIS server (with TCP port changed to 10)
- Apache server with TCP port 80
- MySQL
- PHP

I'm able to get the response from 'htdocs' - index.html.var with mentioning ( in ZH-CN.gb2312 format ) that the Apache has been installed successfully.

Unfortunately, when I tried to put an HTML file named 'index.html' under 'htdocs' directory for testing. The Big5 displayed on browser were all garbage while it worked fine with all English characters.

Can anybody tell what's wrong with it? Is that something wrong with the Language setting in the httpd.config file? If it does, any recommendation to resolve this... Thanks in advance.

Cheers/kennethckk

py9jmas

9:26 am on Jun 4, 2004 (gmt 0)

10+ Year Member



Check the AddDefaultCharset option in httpd.conf. It defaults to ISO-8859-1.

kennethckk

10:57 am on Jun 5, 2004 (gmt 0)

10+ Year Member



Hi Py9jmas,
Thanks for your information.
I tried to change this AddDefaultCharset to Big5 but was in vain.
I've gone through the parameters in Httpd config and there's a few in relation to language & charater set. I did change them to Big5 but still not make it work.

Any more idea how to resolve this?

Thanks in advance.

Cheers

gergoe

12:08 pm on Jun 5, 2004 (gmt 0)

10+ Year Member



Do you have the Content-Type meta header in your files? Something like

<meta http-equiv="Content-Type" content="text/html; charset=Big5">

kennethckk

3:21 pm on Jun 8, 2004 (gmt 0)

10+ Year Member



Thanks to all.

It works now but I couldnt figure out what exactly the problem was.

Cheers/kennethckk