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

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

[bug-gnu-libiconv] [bug #55609] Add support for BOM exceptions as indica


From: Jason Pyeron
Subject: [bug-gnu-libiconv] [bug #55609] Add support for BOM exceptions as indicated in RFC 2781 section 3.3
Date: Wed, 30 Jan 2019 17:53:39 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36

Follow-up Comment #2, bug #55609 (project libiconv):

Yes, we understand that. 

How does iconv produce _unlabeled_ UTF-16 in Little Endian format?

Per the RFC:


   An exception to the "SHOULD" rule of using "UTF-16BE" or "UTF-16LE"
   would occur with document formats that mandate a BOM in UTF-16 text,
   thereby requiring the use of the "UTF-16" tag only.


This is the exact case where iconv is needed to produce Little Endian, with
BOM. None of the UTF-16, UTF-16BE, and UTF-16LE do just that.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55609>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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