From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.help Subject: Re: chinese display in terminal -revised Date: Wed, 11 Jun 2008 23:53:08 +0900 Message-ID: <8763sgqazv.fsf@catnip.gol.com> References: <7acdc952-439a-40d7-867d-f71236c7a51d@s21g2000prm.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1213232775 30417 80.91.229.12 (12 Jun 2008 01:06:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Jun 2008 01:06:15 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 12 03:06:48 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K6bGn-0002Re-8B for geh-help-gnu-emacs@m.gmane.org; Thu, 12 Jun 2008 03:06:29 +0200 Original-Received: from localhost ([127.0.0.1]:33868 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K6bFz-0002ia-PM for geh-help-gnu-emacs@m.gmane.org; Wed, 11 Jun 2008 21:05:39 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 19 Original-X-Trace: individual.net 2E03UPfRp+0YjUWvc+zdSgY+xhMCNK89hJY9GRz7DlKEg9VETL Cancel-Lock: sha1:wjmy+eRIbXDUR9cJ0uLen273vfM= sha1:7H/Zg11CcghHk6TE6xxN9GXKlqE= System-Type: i686-pc-linux-gnu Original-Xref: news.stanford.edu gnu.emacs.help:159380 X-Mailman-Approved-At: Wed, 11 Jun 2008 21:05:18 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:54749 Archived-At: ssszer@gmail.com writes: > LANG=zh_CN > LC_CTYPE=zh_CN.GBK > ... > $ emacs --version > GNU Emacs 21.3.1 I would suggest (1) upgrading to a newer version of emacs (22 is released), and (2) putting the terminal encoding in LANG before invoking Emacs (e.g., LANG="zh_CN.GBK") If you don't want to do the latter, you can explicitly set the terminal encoding Emacs uses with the `C-x C-m t' command. -Miles -- The secret to creativity is knowing how to hide your sources. --Albert Einstein