-   Linux - Software (
-   -   charset in Apache 2 (

swmok 06-13-2005 11:55 PM

charset in Apache 2

I would like to add an charset "zh-HK" in the apache 2 server.

How to get this charset and what should I do to in the config file?

Any reading suggested?


Boby 06-14-2005 02:29 AM


AFAIK and what I have read, your charset is BIG5.

Modify your httpd.conf file and add these:

AddLanguage zh .zh

AddCharset GB2312      .gb2312 .gb
AddCharset big5      .big5 .b5

Good luck!

swmok 06-14-2005 02:57 AM


I've already done the configuration you suggested.

After I installed the gallery package by, apt-get install gallery (I am using Debian 3.1 with kernel 2.6).

The homepage for gallery setup display a number of unknown characters.

When I display the source code of the homepage, I found that:

<title>Gallery ??</title>
<meta http-equiv="content-style-type" content="text/css">
<meta http-equiv="content-type" content="Mime-Type; charset=ISO-8859-1">
<meta name="content-language" content="zh-HK">

The content-language is zh-HK. However, there is no charset of zh-HK.

Is this the problem of apache2? If yes, doesn't it mean I need to install zh-HK charset?
Is this the problem of gallery package? If yes, how can I fix this?


All times are GMT -5. The time now is 08:01 PM.