Johann Zuschlag <zuschlag2(at)online(dot)de> writes:
> 'A' = U+0041 (does windows use big-endian?)
Argh, please do not make it even more complex than it needs to be!
Endianness is by chance an _independent_ issue. You just care about it
at the low-low level when dealing with files or network sockets, but
then it's over and you never want to hear about it anymore at a higher
level.
So U+0041 is an integer whose value is:
zero thousand zero hundred forty one
and this is always true, whatever is the byte ordering used by the
processor. You don't need to know more than this, even when converting
to UTF-8 or anything else.