From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "spamfilteraccount@gmail.com" Newsgroups: gmane.emacs.help Subject: Re: Opening file in UTF-8 mode automatically Date: Mon, 26 Nov 2007 23:15:14 -0800 (PST) Organization: http://groups.google.com Message-ID: References: <78b46aa5-064f-4977-b425-b30a2f1866bb@a39g2000pre.googlegroups.com> <941d8552-9779-4a2c-bc37-46696e033056@e25g2000prg.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1196149345 3273 80.91.229.12 (27 Nov 2007 07:42:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Nov 2007 07:42:25 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 27 08:42:33 2007 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 1Iwv5S-00085J-Us for geh-help-gnu-emacs@m.gmane.org; Tue, 27 Nov 2007 08:42:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iwv5D-0006pC-IR for geh-help-gnu-emacs@m.gmane.org; Tue, 27 Nov 2007 02:42:15 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!s36g2000prg.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 19 Original-NNTP-Posting-Host: 81.182.115.213 Original-X-Trace: posting.google.com 1196147715 5849 127.0.0.1 (27 Nov 2007 07:15:15 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 27 Nov 2007 07:15:15 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: s36g2000prg.googlegroups.com; posting-host=81.182.115.213; posting-account=ksnUxwoAAAC32CfuC8oi8NKZxrTcNtdm User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071025 Firefox/2.0.0.9,gzip(gfe),gzip(gfe) Content-Disposition: inline Original-Xref: shelby.stanford.edu gnu.emacs.help:154141 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:49571 Archived-At: On Nov 25, 11:49 pm, Xah Lee wrote: > Not sure about auto-detecting, but i work with utf-8 daily and never > have a problem. > > I do, however, set my emacs to use utf-8 by default. > > To set your file encoding in emacs, use the menu "Options→Mule > (Multilingual Environment)→Set Language Environment". > > After you've pulled the menu, be sure to also pull the menu command > "Options→Save Options" so that emacs remembers your settings. > > or > > Alt+x set-language-environment UTF-8 > > Didn't work. The file is still not opened in utf-8 mode.