Missed lang string cause Chinese character mess?
3 posts
• Page 1 of 1
Missed lang string cause Chinese character mess?
In the file ajaxResponse.php, at line 13, the code is
[code:e669a80b]header ('Content-Type: text/xhtml; charset='. _XMAP_CHARSET);
[/code:e669a80b]
I think the _XMAP_CHARSET may be a language string. But it was not in the language file.
So, when the dropdown menu list contains Chinese menu items, then those Chinese characters will be displayed as unreadable symbols.
IF _XMAP_CHARSET belongs to language file, please add it.
Thanks.
[code:e669a80b]header ('Content-Type: text/xhtml; charset='. _XMAP_CHARSET);
[/code:e669a80b]
I think the _XMAP_CHARSET may be a language string. But it was not in the language file.
So, when the dropdown menu list contains Chinese menu items, then those Chinese characters will be displayed as unreadable symbols.
IF _XMAP_CHARSET belongs to language file, please add it.
Thanks.
-

baijianpeng - Junior Boarder

- Posts: 27
- Joined: Thu Nov 08, 2007 2:24 pm
Re:Missed lang string cause Chinese character mess?
Hi,
_XMAP_CHARSET should be the charset encoding for the language, it should be defined on the language file with something like
[code:27ebfdcc]
define('_XMAP_CHARSET', 'utf-8');
[/code:27ebfdcc]
For chinese, which charset is used normally?
_XMAP_CHARSET should be the charset encoding for the language, it should be defined on the language file with something like
[code:27ebfdcc]
define('_XMAP_CHARSET', 'utf-8');
[/code:27ebfdcc]
For chinese, which charset is used normally?
-

guilleva - Administrator

- Posts: 1517
- Joined: Wed Sep 12, 2007 3:10 am
- Location: San José, Costa Rica
Re:Missed lang string cause Chinese character mess?
We always use utf-8 encoding for Chinese version of Joomla!.
sorry, I just found out that _XMAP_CHARSET was already included in the english.php language file.
Please move this topic.
Thanks.
sorry, I just found out that _XMAP_CHARSET was already included in the english.php language file.
Please move this topic.
Thanks.
Last edited by baijianpeng on Thu Jan 01, 1970 12:00 am, edited 65535 times in total.
Reason: 1
Reason: 1
-

baijianpeng - Junior Boarder

- Posts: 27
- Joined: Thu Nov 08, 2007 2:24 pm
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: Google [Bot] and 3 guests