IGNORE: Re: encoding



Harlan Messinger wrote:
Tony Johansson wrote:
Hi!

Here is some encodings standards
1.ASCII
2.Unicode
3.UTF-7
4.UTF-8
5.UTF-32

In the beginning of the file encoded with Unicode,UTF-8 and UTF-32 is code markers but file encoded
with ASCII and UTF-7 does not contains any code markers at all.
So why is that not code markers for these two.

The purpose of the marker is to indicate whether the data is stored in "big-endian" or "little-endian" order--that is, whether multibyte encodings are arranged high-order byte first or low-order byte first. Therefore, the need for this marker only arose when multibyte encodings were introduced.

I realized, as soon as I pressed Send, that there were some holes in my own understanding of this, especially when I realized you'd mentioned UTF-7 (which is variable-byte) so I just checked and found my explanation wasn't particularly helpful.
.