LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   charset in Apache 2 (http://www.linuxquestions.org/questions/linux-software-2/charset-in-apache-2-a-333298/)

swmok 06-13-2005 10:55 PM

charset in Apache 2
 
HI:

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?

Thanks.

Boby 06-14-2005 01:29 AM

Hello!

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

Modify your httpd.conf file and add these:
Code:

AddLanguage zh .zh
Code:

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

http://mail-archives.apache.org/mod_...ailcity.com%3E

Good luck!
Boby

swmok 06-14-2005 01:57 AM

Hi:

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?

Thanks


All times are GMT -5. The time now is 06:41 AM.