unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "William Xue" <william.xue@gmail.com>
To: "Eli Zaretskii" <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: can not decode 0x93 and 0x94 to correct char
Date: Sat, 29 Sep 2007 16:29:22 +0800	[thread overview]
Message-ID: <op.tzepu80shkv0w5@smiling> (raw)
In-Reply-To: <uodfm4zna.fsf@gnu.org>

On Fri, 28 Sep 2007 22:45:29 +0800, Eli Zaretskii <eliz@gnu.org> 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

  reply	other threads:[~2007-09-29  8:29 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-28  4:33 can not decode 0x93 and 0x94 to correct char William Xue
2007-09-28  6:31 ` Kenichi Handa
2007-09-28  8:30   ` Eli Zaretskii
2007-09-28  9:38     ` William Xue
2007-10-01  1:33     ` Kenichi Handa
2007-09-28 13:50 ` Stefan Monnier
2007-09-28 14:45   ` Eli Zaretskii
2007-09-29  8:29     ` William Xue [this message]
2007-09-29 13:47       ` Stefan Monnier
2007-09-29 15:30         ` William Xue
  -- strict thread matches above, loose matches on Subject: below --
2007-09-28  4:24 William Xue

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=op.tzepu80shkv0w5@smiling \
    --to=william.xue@gmail.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).