Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


Search this Thread
Old 06-13-2005, 10:55 PM   #1
Registered: Jul 2003
Posts: 152

Rep: Reputation: 30
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?

Old 06-14-2005, 01:29 AM   #2
Registered: Feb 2004
Location: Sighisoara/Cluj-Napoca (Romania)
Distribution: CentOS 4, Fedora Core 6
Posts: 781

Rep: Reputation: 31

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!
Old 06-14-2005, 01:57 AM   #3
Registered: Jul 2003
Posts: 152

Original Poster
Rep: Reputation: 30

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?



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble with charset? dreamtheater Linux - Software 2 07-15-2004 06:12 AM
BMP Charset gamehack Slackware 0 04-26-2004 09:58 AM
charset problem.... freakymark Slackware 1 07-07-2003 11:33 AM
Charset in MySQL YMJ Programming 1 03-26-2003 03:35 PM
KDE charset problem parapente Linux - General 5 02-27-2002 08:37 AM

All times are GMT -5. The time now is 04:37 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration