emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 23.0.60; Defaut encoding for XML files should be undefined (instead


From: Edward O'Connor
Subject: Re: 23.0.60; Defaut encoding for XML files should be undefined (instead of utf-8)
Date: Fri, 15 Feb 2008 14:32:41 -0800
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (darwin)

S├ębastien wrote:

> When I'm opening an XML file that I've saved in iso-latin-1
> encoding, it's not correctly opened if there is no header,
> cookie or local variable telling about my encoding.
>
> This is how it looks like, when opened, as it is read by default
> as utf-8 (while being iso-latin-1):
>     <enumType name="test">
>       <pair value="11">D\373 \340 l'entreprise</pair>
>       <pair value="12">Stagiaire occup\351</pair>
>       <pair value="36">Autres</pair>
>     </enumType>

My understanding is that the XML specification requires XML documents
lacking an explicit <?xml encoding='foo'?> instruction to be UTF-8 or
UTF-16, so Emacs does the right thing already.


Ted





reply via email to

[Prev in Thread] Current Thread [Next in Thread]