UTF-16 endianess
Adam D. Ruppe via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri Jan 29 14:44:57 PST 2016
On Friday, 29 January 2016 at 22:36:37 UTC, Marek Janukowicz
wrote:
> I have trouble understanding how endianess works for UTF-16.
UTF-16 (as well as UTF-32) comes in both little-endian and
big-endian variants. A byte-order marker in the file can help you
detect which one it is in.
See t his t able:
http://www.unicode.org/faq/utf_bom.html#gen6
More information about the Digitalmars-d-learn
mailing list