unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: LI Daobing <lidaobing@gmail.com>
Cc: romain@orebokech.com, emacs-devel@gnu.org
Subject: Re: Emacs, Chinese language environment, and Japanese fonts
Date: Thu, 15 Sep 2005 12:47:29 +0800	[thread overview]
Message-ID: <8eae5a6605091421476a2405b@mail.gmail.com> (raw)
In-Reply-To: <E1EFlJ6-0001Dm-00@etlken>

On 9/15/05, Kenichi Handa <handa@m17n.org> wrote:
> In article <E1EFknc-0000vv-00@etlken>, Kenichi Handa <handa@m17n.org> writes:
> 
> > 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")
> 
> Oops, it should be:
> 
> (set-language-environment "Chinese-GB")
> (utf-translate-cjk-load-tables)
> (set-language-environment "English")
> 
It seems this one is very sensitive to locale, I got different result
under locale zh_CN, zh_TW, ja_JP, ko_KR,and not sensitive to
set-language-environment.

I think I can solve my problem by
export LANG=en_US.UTF-8
export LC_CTYPE=zh_CN.UTF-8

Thanks.


-- 
LI Daobing

      reply	other threads:[~2005-09-15  4:47 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
2005-09-15  4:25       ` Kenichi Handa
2005-09-15  4:47         ` LI Daobing [this message]

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=8eae5a6605091421476a2405b@mail.gmail.com \
    --to=lidaobing@gmail.com \
    --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 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).