This is a discussion on Chinese page not displayed properly in apache2 within the Linux Web Servers forums, part of the Web Server and Related Forums category; Hi. I am running apache 2.0.47 on redhat 9. In my website, I have a page with chinese ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi. I am running apache 2.0.47 on redhat 9. In my website, I have a
page with chinese characters. The page contains the meta tag: <meta http-equiv="Content-Type" content="text/html; charset=big5"> which is suppose to instruct the client to automatically use big5 encoding but the characters still come out funny. I have to manually go to View->Encoding and select Big5 to see characters properly. So, I started to think that the problem probably lies with my webserver and searching around the web, I found that others who switched from apache 1.3 to apache 2.0 also has the same problem. I went to my httpd.conf and edited the AddDefaultCharset: AddDefaultCharset Big5 and restarted apache but that still doesn't work. Any ideas? Cheers, Michael. |
|
|||
|
|
|
|||
|
On Tue, 20 Oct 2003, Michael wrote:
> <meta http-equiv="Content-Type" content="text/html; charset=big5"> > > which is suppose to instruct the client to automatically use big5 Only if the server fails to specify an encoding. > encoding but the characters still come out funny. I have to manually > go to View->Encoding and select Big5 to see characters properly. Bet'cha the server is defaulting to iso-8859-1 > So, I started to think that the problem probably lies with my > webserver and searching around the web, I found that others who > switched from apache 1.3 to apache 2.0 also has the same problem. I > went to my httpd.conf and edited the AddDefaultCharset: Either learn how to read your own HTTP headers, or give us the URL so we can diagnose the situation for you. AddDefaultCharset does not override other charset functions of Apache: it only provides a default where no other means have determined the charset. |
| Thread Tools | |
| Display Modes | |
|
|