From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Water Lin Newsgroups: gmane.emacs.help Subject: The text coding sytem for Emacs Date: Thu, 05 Nov 2009 19:30:27 +0800 Organization: A poorly-installed InterNetNews site Message-ID: <833a4ttdik.fsf@ymail.invalid> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1257459059 5350 80.91.229.12 (5 Nov 2009 22:10:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Nov 2009 22:10:59 +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 Nov 05 23:10:52 2009 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 1N6AXc-0000Iv-2F for geh-help-gnu-emacs@m.gmane.org; Thu, 05 Nov 2009 23:10:52 +0100 Original-Received: from localhost ([127.0.0.1]:40926 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N6AXb-0006UX-I3 for geh-help-gnu-emacs@m.gmane.org; Thu, 05 Nov 2009 17:10:51 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!news.glorb.com!news2.glorb.com!newsgate.cuhk.edu.hk!www.shinco.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 17 Original-NNTP-Posting-Host: 59.37.5.24 Original-X-Trace: www.shinco.com 1257420699 29744 59.37.5.24 (5 Nov 2009 11:31:39 GMT) Original-X-Complaints-To: news@www.shinco.com Original-NNTP-Posting-Date: Thu, 5 Nov 2009 11:31:39 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (windows-nt) Cancel-Lock: sha1:J7Rcb/AEMkSHaxAhZ8QqzWMEJWo= Original-Xref: news.stanford.edu gnu.emacs.help:174409 X-Mailman-Approved-At: Thu, 05 Nov 2009 17:08:09 -0500 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:69517 Archived-At: I re-install my Windows XP system. But after I start Emacs, it treats my text file as iso-latin-1-unix. But actually the coding system should be utf-8. So Emacs shows the text as a mess. When I change the coding to UTF-8 by M-x revert-buffer-with-coding-system, the text file works normally. How can I let Emacs to treat text file as UTF-8 by default? Thanks Water Lin -- Water Lin's notes and pencils: http://en.waterlin.org Email: WaterLin@ymail.com