From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.help Subject: Re: Emacs refusing to switch to iso-latin-1 Date: Mon, 11 Feb 2008 17:38:32 +0100 Organization: Organization?!? Message-ID: <8563wvwirb.fsf@lola.goethe.zz> References: <87y79rohuu.fsf@mundaneum.com> <878x1rk0hd.fsf@mundaneum.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1202748149 25361 80.91.229.12 (11 Feb 2008 16:42:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Feb 2008 16:42:29 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 11 17:42:43 2008 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 1JObjf-0002G3-Rz for geh-help-gnu-emacs@m.gmane.org; Mon, 11 Feb 2008 17:42:28 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JObjC-0006lH-Kd for geh-help-gnu-emacs@m.gmane.org; Mon, 11 Feb 2008 11:41:58 -0500 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!feeder.news-service.com!newsfeed.freenet.de!news.n-ix.net!noris.net!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help X-Face: 2FEFf>]>q>2iw=B6, xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN; i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:GPrEiwSyb3wayON9Y3mTRXqBLCk= Original-Lines: 36 Original-NNTP-Posting-Date: 11 Feb 2008 17:38:32 CET Original-NNTP-Posting-Host: f44b2d8d.newsspool4.arcor-online.net Original-X-Trace: DXC=; mmM?Vgfib\BH3Y2\GDU6mOYPj21_LiI6ENVa=3>5MOK`; S:bhJ 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:51423 Archived-At: Sébastien Vauban writes: > Hi Peter, > >>> I told emacs to save the file in `iso-latin-1-unix', with >>> `C-x f iso-latin-1-unix'. [...] >>> But, when I do my `C-x C-s', just after it's done, I see back >>> `-U:--' in my modeline. >> >> And what happens with `C-x c', i.e. encoding for next >> command, and you save the before changed buffer? > > Good idea... Thanks. > > Unluckily, it does nothing, just telling me: > > (No changes need to be saved) > > BTW, here's a sample file (let's call it `test.xml') that > exhibits the described problem: > > > - Sélectionner - > Dû à l'entreprise > Stagiaire occupé > Autres > > > Thanks for your help! Huh? That file does not contain an encoding header, and so according to the XML standard, it _has_ to be encoded in utf-8. Emacs gets this right. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum