From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Opening file in UTF-8 mode automatically Date: Tue, 27 Nov 2007 23:47:11 +0200 Message-ID: References: <78b46aa5-064f-4977-b425-b30a2f1866bb@a39g2000pre.googlegroups.com> <5d9c004c-c712-4caa-b2bb-ce2a3e167761@e10g2000prf.googlegroups.com> <9d615249-ca6e-4de2-871e-1b009a467d0a@o6g2000hsd.googlegroups.com> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1196200058 20859 80.91.229.12 (27 Nov 2007 21:47:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Nov 2007 21:47:38 +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 22:47:45 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 1Ix8HM-0007hJ-VG for geh-help-gnu-emacs@m.gmane.org; Tue, 27 Nov 2007 22:47:41 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ix8H7-0004lJ-Kw for geh-help-gnu-emacs@m.gmane.org; Tue, 27 Nov 2007 16:47:25 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ix8Gt-0004l5-K2 for help-gnu-emacs@gnu.org; Tue, 27 Nov 2007 16:47:11 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ix8Gs-0004kt-6v for help-gnu-emacs@gnu.org; Tue, 27 Nov 2007 16:47:11 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ix8Gr-0004kq-Tm for help-gnu-emacs@gnu.org; Tue, 27 Nov 2007 16:47:10 -0500 Original-Received: from nitzan.inter.net.il ([213.8.233.22]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ix8Gr-0004he-BL for help-gnu-emacs@gnu.org; Tue, 27 Nov 2007 16:47:09 -0500 Original-Received: from HOME-C4E4A596F7 (IGLD-84-229-201-34.inter.net.il [84.229.201.34]) by nitzan.inter.net.il (MOS 3.7.3a-GA) with ESMTP id IKV45445 (AUTH halo1); Tue, 27 Nov 2007 23:44:33 +0200 (IST) In-reply-to: (message from Zhang Wei on Tue, 27 Nov 2007 15:30:23 +0800) X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) 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:49594 Archived-At: > From: Zhang Wei > Date: Tue, 27 Nov 2007 15:30:23 +0800 > > "spamfilteraccount@gmail.com" writes: > > [...] > > > default-enable-multibyte-characters: nil > > I think this variable should be set to "t" to open a utf-8 file. Yes, of course! To the OP: why are you running Emacs in the unibyte mode? Does the problem go away if you invoke Emacs with "emacs -Q"?