From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: displaying the Eurosign at all Date: Wed, 09 Mar 2005 10:27:13 -0500 Organization: Bell Sympatico Message-ID: <87oeds9773.fsf-monnier+gnu.emacs.help@gnu.org> References: <87is43cy2s.fsf-monnier+gnu.emacs.help@gnu.org> <87wtsha006.fsf-monnier+gnu.emacs.help@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1110383302 5971 80.91.229.2 (9 Mar 2005 15:48:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 9 Mar 2005 15:48:22 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 09 16:48:22 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D93NG-0002E4-78 for geh-help-gnu-emacs@m.gmane.org; Wed, 09 Mar 2005 16:45:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D93bx-00033t-6G for geh-help-gnu-emacs@m.gmane.org; Wed, 09 Mar 2005 11:00:37 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!cyclone.bc.net!snoopy.risq.qc.ca!nf3.bellglobal.com!nf1.bellglobal.com!nf2.bellglobal.com!news20.bellglobal.com.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:/8RIvGylSq2Rphkfe9Ri1Xy/y+8= Original-Lines: 43 Original-NNTP-Posting-Host: 70.49.82.164 Original-X-Complaints-To: abuse@sympatico.ca Original-X-Trace: news20.bellglobal.com 1110382033 70.49.82.164 (Wed, 09 Mar 2005 10:27:13 EST) Original-NNTP-Posting-Date: Wed, 09 Mar 2005 10:27:13 EST Original-Xref: shelby.stanford.edu gnu.emacs.help:129144 Original-To: help-gnu-emacs@gnu.org 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 X-MailScanner-To: geh-help-gnu-emacs@m.gmane.org Xref: news.gmane.org gmane.emacs.help:24691 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:24691 > Well, it's not quite that simple - at least not with my NTemacs > version 21.3.50.1 Since this is about a development version of Emacs, we should move this elsewhere. See INSTALL.CVS. > There is no language environment called windows-1252 (though > windows-1255 exists). Indeed, window-1252 is not a language (I know, there's a "Latin-1" language environment, but it was just a mistake). I meant "the cp1252 coding system" which is also sometimes called "windows-1252". > The default terminal and keyboard encoding is indeed cp1252, which > explains why I wasn't having problems with typing and displaying EURO > signs. Good. But in that case, you shouldn't need the global-set-key binding to insert a euro. > However, when default file I/O is coded in C to be > default-buffer-file-coding-system = 'iso-latin-1-dos' Assuming all this is with "emacs -q", it sounds like a bug. Please report it with M-x report-emacs-bug. > Setting this variable to cp1252 did not do the trick either. Sounds very odd. What exactly did you do? What does C-h v buffer-file-coding-system say after you load a file with a \200 euro? > I think the default coding system for file I/O under Windows should be > cp1252 (aka windows-1252) or cp1252-dos, not iso-latin-1-dos. > Even better, Emacs should be able to determine the locally used default > encoding and use that as the default (which varies by localization of the > OS). As far as I know that's what it does already. But I don't actually write or use the Windows part of the Emacs code, so I may be wrong. Stefan