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: those funny non-ASCII characters Date: Fri, 01 Jun 2012 09:12:42 +0300 Message-ID: <837gvr1rxh.fsf@gnu.org> References: <731567ba-000c-4643-9eff-0237129b90c7@oe8g2000pbb.googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: dough.gmane.org 1338531221 32019 80.91.229.3 (1 Jun 2012 06:13:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 1 Jun 2012 06:13:41 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 01 08:13:41 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SaL7D-0006r1-Il for geh-help-gnu-emacs@m.gmane.org; Fri, 01 Jun 2012 08:13:39 +0200 Original-Received: from localhost ([::1]:56309 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SaL7D-0003xc-2j for geh-help-gnu-emacs@m.gmane.org; Fri, 01 Jun 2012 02:13:39 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33415) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SaL78-0003xW-2I for help-gnu-emacs@gnu.org; Fri, 01 Jun 2012 02:13:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SaL76-0003qJ-F5 for help-gnu-emacs@gnu.org; Fri, 01 Jun 2012 02:13:33 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:46086) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SaL76-0003p9-79 for help-gnu-emacs@gnu.org; Fri, 01 Jun 2012 02:13:32 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0M4X00300CZT1I00@a-mtaout21.012.net.il> for help-gnu-emacs@gnu.org; Fri, 01 Jun 2012 09:12:41 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M4X003YZD951M00@a-mtaout21.012.net.il> for help-gnu-emacs@gnu.org; Fri, 01 Jun 2012 09:12:41 +0300 (IDT) In-reply-to: <731567ba-000c-4643-9eff-0237129b90c7@oe8g2000pbb.googlegroups.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:85071 Archived-At: > From: rusi > Date: Thu, 31 May 2012 22:43:07 -0700 (PDT) >=20 > On Jun 1, 9:23=A0am, Jason Rumney wrote: > > On Thursday, 31 May 2012 01:15:11 UTC+8, Buchs, Kevin =A0wrote: > > > Xah suggested I embrace Unicode. So I could use (prefer-coding-= system > > > 'utf-8) or the file variable: -*- coding: utf-8 -*-. Are there = drawbacks > > > to the former? What about opening an ASCII coded file? Can emac= s > > > properly detect it or does it come up as UTF-8? > > > > ASCII is a subset of UTF-8, so the problem you are imagining does= not exist. >=20 > This does not exactly work that way on windows. > eg recently saw a description of how notepad put a BOM mark in a > haskell-script which made the haskell scripts unrunnable We are talking about Emacs, not about Notepad, so it's unclear to me how what Notepad does is relevant to the OP's question.