[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: can not decode 0x93 and 0x94 to correct char
From: |
William Xue |
Subject: |
Re: can not decode 0x93 and 0x94 to correct char |
Date: |
Sat, 29 Sep 2007 16:29:22 +0800 |
User-agent: |
Opera Mail/9.50 (Win32) |
On Fri, 28 Sep 2007 22:45:29 +0800, Eli Zaretskii <address@hidden> wrote:
Emacs on Windows looks up the UI language of the current user, and
then sets up the language environment for that language. Most
language environments do not specify cpNNNN as their preferred
encodings, so neither does Emacs.
Are the following suitable settings for this situation?
; for cp1258
(prefer-coding-system 'windows-1258)
; for displaying utf-8 encoded file
(prefer-coding-system 'utf-8-emacs)
; for displaying chinese characters
(prefer-coding-system 'gb2312)
It would be a little problem. Because if I changed the gb2312 to gb18030
or gbk,
the first setting (prefer-coding-system 'windows-1258) would be failed.
--
Yours,
WilliamX