UTF-8 strings and endianness
Dmitry Olshansky
dmitry.olsh at gmail.com
Tue Oct 30 15:05:06 PDT 2012
10/30/2012 5:17 PM, Tobias Pankrath пишет:
> On Tuesday, 30 October 2012 at 17:12:41 UTC, Jesse Phillips wrote:
>> On Monday, 29 October 2012 at 15:22:39 UTC, Adam D. Ruppe wrote:
>>> UTF-8 isn't affected by endianness.
>>
>> If this is true why does the BOM have marks for big and little endian?
>>
>> http://en.wikipedia.org/wiki/Byte_order_mark#Representations_of_byte_order_marks_by_encoding
>>
>
> UTF8 has only one?
Even Wiki knows the simple truth:
> Byte order has no meaning in UTF-8, [5] so its only use in UTF-8 is
to signal at the start that the text stream is encoded in UTF-8
--
Dmitry Olshansky
More information about the Digitalmars-d-learn
mailing list