[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs refusing to switch to iso-latin-1
From: |
David Kastrup |
Subject: |
Re: Emacs refusing to switch to iso-latin-1 |
Date: |
Mon, 11 Feb 2008 17:38:32 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
Sébastien Vauban <zthjwsqqafhv@spammotel.com> writes:
> Hi Peter,
>
>>> I told emacs to save the file in `iso-latin-1-unix', with
>>> `C-x <RET> 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 <RET> 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:
>
> <enumType name="test">
> <pair value="0">- Sélectionner -</pair>
> <pair value="11">Dû à l'entreprise</pair>
> <pair value="12">Stagiaire occupé</pair>
> <pair value="13">Autres</pair>
> </enumType>
>
> 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
- Emacs refusing to switch to iso-latin-1, Sébastien Vauban, 2008/02/11
- Re: Emacs refusing to switch to iso-latin-1, Peter Dyballa, 2008/02/11
- Message not available
- Re: Emacs refusing to switch to iso-latin-1, Sébastien Vauban, 2008/02/11
- Re: Emacs refusing to switch to iso-latin-1, Peter Dyballa, 2008/02/11
- Re: Emacs refusing to switch to iso-latin-1, Peter Dyballa, 2008/02/11
- Re: Emacs refusing to switch to iso-latin-1,
David Kastrup <=
- Re: Emacs refusing to switch to iso-latin-1, Lennart Borgman (gmail), 2008/02/11
- Message not available
- Re: Emacs refusing to switch to iso-latin-1, Sébastien Vauban, 2008/02/12
- Re: Emacs refusing to switch to iso-latin-1, David Kastrup, 2008/02/12
- Re: Emacs refusing to switch to iso-latin-1, Sébastien Vauban, 2008/02/14
- Re: Emacs refusing to switch to iso-latin-1, Stefan Monnier, 2008/02/14
- Re: Emacs refusing to switch to iso-latin-1, Sébastien Vauban, 2008/02/15
- Re: Emacs refusing to switch to iso-latin-1, Stefan Monnier, 2008/02/14
- Re: Emacs refusing to switch to iso-latin-1 (on the way to be SOLVED), Sébastien Vauban, 2008/02/15
- Re: Emacs refusing to switch to iso-latin-1, Sven Joachim, 2008/02/11
- Message not available
- Re: Emacs refusing to switch to iso-latin-1, Sébastien Vauban, 2008/02/12