bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#35766: emacs saves utf-16 le xml files as utf-16 be


From: Noam Postavsky
Subject: bug#35766: emacs saves utf-16 le xml files as utf-16 be
Date: Fri, 17 May 2019 07:48:30 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)

J S <address@hidden> writes:

> It would change color in emacs if encoding="UTF16-LE" were invalid.
> It's hard to find the docs for it.  UTF-16LE is listed here:
> http://help.eclipse.org/kepler/index.jsp?topic=%2Forg.eclipse.wst.xmleditor.doc.user%2Ftopics%2Fcxmlenc.html

A more official reference:

https://www.w3.org/TR/xml/#NT-EncName

    It is RECOMMENDED that character encodings registered (as charsets)
    with the Internet Assigned Numbers Authority [IANA-CHARSETS], other
    than those just listed, be referred to using their registered names;

[IANA-CHARSETS]: 
http://www.iana.org/assignments/character-sets/character-sets.xhtml

    UTF-16LE    1014    [RFC2781]   [RFC2781]   csUTF16LE






reply via email to

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