Scott Morgan <[EMAIL PROTECTED]> writes:

> http://unicode.org/faq/utf_bom.html#25
>
> "a BOM can be used as a signature no matter how the Unicode text is
> transformed: UTF-16, UTF-8, UTF-7, etc. The exact bytes comprising the
> BOM will be whatever the Unicode character FEFF is converted into by
> that transformation format. In that form, the BOM serves to indicate
> both that it is a Unicode file, and which of the formats it is in."

I guess this illustrates a major difference between mathematics and
software. In math if someone tells you that 2 + 2 = 5 then you can
call BS without looking into any external sources. In software, if
someone tells you there is a byte order marker for encoding which
by definition does not have a notion of byte order, you actually
need to check whether some "standards body" came up with such a
thing. I can't seem to learn the lesson ;-).


Boris

-- 
Boris Kolpackov
Code Synthesis Tools CC
http://www.codesynthesis.com
Open-Source, Cross-Platform C++ XML Data Binding

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to