From: Kenichi Handa <handa@m17n.org>
Cc: romain@orebokech.com, emacs-devel@gnu.org
Subject: Re: Emacs, Chinese language environment, and Japanese fonts
Date: Thu, 15 Sep 2005 12:52:36 +0900 [thread overview]
Message-ID: <E1EFknc-0000vv-00@etlken> (raw)
In-Reply-To: <8eae5a660509141954430abc8f@mail.gmail.com> (message from LI Daobing on Thu, 15 Sep 2005 10:54:42 +0800)
In article <8eae5a660509141954430abc8f@mail.gmail.com>, LI Daobing <lidaobing@gmail.com> writes:
> I am very glad to reproduce this bug to you:
> my env:
> locale: LANG=en_US.UTF-8
> emacs-snapshot: emacs-snapshot-gtk in debian version 1:20050908-1
As your locale is en_US.UTF-8, Emacs doen't know to which
charset to decode that character from UTF-8. The default is
to prefer JIS. If you prefer Chinese, why don't you use, for
instance, zh_CN.UTF-8?
By the way, you wrote:
> I prefer it is bug, becase this bug still happen even when I use
> (set-language-environment "Chinese-GB").
You must change the lang. env. before you read a
UTF-8 file. Have you tried it?
I agree that it's not good that saving and reading with the
same coding system doesn't give you the same character.
But, that is the limitation of the current Emacs, and can't
be solved easily. If you really have to be in English
language environment but prefer Chinese, please try this in
your .emacs.
(set-language-environment "Chinese-GB")
(set-language-environment "English")
---
Kenichi Handa
handa@m17n.org
next prev parent reply other threads:[~2005-09-15 3:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-14 20:59 Emacs, Chinese language environment, and Japanese fonts Romain Francoise
2005-09-15 2:34 ` Kenichi Handa
2005-09-15 2:54 ` LI Daobing
2005-09-15 3:52 ` Kenichi Handa [this message]
2005-09-15 4:25 ` Kenichi Handa
2005-09-15 4:47 ` LI Daobing
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1EFknc-0000vv-00@etlken \
--to=handa@m17n.org \
--cc=emacs-devel@gnu.org \
--cc=romain@orebokech.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.