LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

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

Rep: Reputation: 30
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.
 
Old 06-14-2005, 01:29 AM   #2
Boby
Member
 
Registered: Feb 2004
Location: Sighisoara/Cluj-Napoca (Romania)
Distribution: CentOS 4, Fedora Core 6
Posts: 781

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

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


Reply


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
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration