From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: LI Daobing Newsgroups: gmane.emacs.devel Subject: Re: Emacs, Chinese language environment, and Japanese fonts Date: Thu, 15 Sep 2005 12:47:29 +0800 Message-ID: <8eae5a6605091421476a2405b@mail.gmail.com> References: <87psrb9xhj.fsf@pacem.orebokech.com> <8eae5a660509141954430abc8f@mail.gmail.com> Reply-To: lidaobing@gmail.com NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1126759964 1503 80.91.229.2 (15 Sep 2005 04:52:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 15 Sep 2005 04:52:44 +0000 (UTC) Cc: romain@orebokech.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 15 06:52:41 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EFli9-0004ga-69 for ged-emacs-devel@m.gmane.org; Thu, 15 Sep 2005 06:51:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EFli8-0002rv-Lm for ged-emacs-devel@m.gmane.org; Thu, 15 Sep 2005 00:51:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EFlhu-0002qz-Al for emacs-devel@gnu.org; Thu, 15 Sep 2005 00:50:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EFlhp-0002pD-Uc for emacs-devel@gnu.org; Thu, 15 Sep 2005 00:50:43 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EFlhp-0002o9-OA for emacs-devel@gnu.org; Thu, 15 Sep 2005 00:50:41 -0400 Original-Received: from [64.233.162.202] (helo=zproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EFlek-0007Wr-HB for emacs-devel@gnu.org; Thu, 15 Sep 2005 00:47:30 -0400 Original-Received: by zproxy.gmail.com with SMTP id x7so53461nzc for ; Wed, 14 Sep 2005 21:47:29 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=LfowXDO58UPkZH8ypqNbaENcK9L/vZIfdEWguXoTseC5c/vXjcpuT7yhGII66K+Wa62daQXOVlemdXoqaAlMuFzq9R9FIj5ptsXffFm580w9+TgO8oJMyWK7SiLzn9k2Ru48PQMiimIb162mX75Syl87iEd5O8lhMUJ8ZCY1K+Y= Original-Received: by 10.37.20.78 with SMTP id x78mr2856996nzi; Wed, 14 Sep 2005 21:47:29 -0700 (PDT) Original-Received: by 10.36.177.16 with HTTP; Wed, 14 Sep 2005 21:47:29 -0700 (PDT) Original-To: Kenichi Handa In-Reply-To: Content-Disposition: inline X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:42950 Archived-At: On 9/15/05, Kenichi Handa wrote: > In article , Kenichi Handa 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