Chinese character display problem

General questions regarding the use of languages and encoding issues in Joomla! 1.0.x. Multi-lingual site solutions can be discussed in the child board. Translation discussions are now separate and can be found in the Working Groups Area.
Locked
flashget
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Thu Aug 23, 2007 9:43 pm

Chinese character display problem

Post by flashget » Mon Mar 24, 2008 12:22 pm

Hi experts,

This language issue has bothered me for a long time. I need your help.

Problem description:

My live website http://www.startmandarin.co.uk is working properly. The live environment is
Joomla: 1.0.12
MySql : 5.0.45

I also have a copy of my website on my local computer. Some unexpected characters displayed here. The local environment is:

JSAS server 1.10
PHP: 4.4.4
MySql: 4.1.14

My website has both English and Chinese characters. So, in my template folder, I have following codes in the index.php

Code: Select all

<head> 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
In the language file, I have following codes:

Code: Select all

DEFINE('_ISO','charset=utf-8');
In my local database, MySQL charset is utf8 and MySQL connection collation is utf8-unicode-ci

I think I have done everything to set the encoding to be UTF-8. But when I browse my website locally, the browser still picks up ISO-8859-1 as the character encoding. I open the page source, I found following codes:

Code: Select all

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
Any clue from you guys? Do you think I need to change some setting in apache server which is the only place I haven't checked yet.

Cheers

cdx
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 148
Joined: Sun Jan 01, 2006 11:44 pm
Contact:

Re: Chinese character display problem

Post by cdx » Mon Mar 31, 2008 11:21 am

I have the same problem. Hope someone knows the answer....

Thanks!
Guy


Locked

Return to “Language - 1.0.x”