Re: newbie: unicode (when used as a coding) = UTF16LE?

From: John Cowan (cowan@mercury.ccil.org)
Date: Thu Feb 13 2003 - 05:50:56 EST

  • Next message: Jungshik Shin: "Re: newbie: unicode (when used as a coding) = UTF16LE?"

    Jungshik Shin scripsit:

    > Content-Type: text/html; charset=UTF-16LE
    >
    > On top of that, you may wish to put BOM at teh very beg. of
    > your UTF-16LE html files although that's not necessary
    > with the correct C-T http header as above.

    No, no! In UTF-16LE, if the first two bytes are FF FE, that means an
    actual ZWNBSP character. (Analogously in UTF-16BE.) The whole point
    of the charsets "UTF-16LE" and "UTF-16BE" is that there is no BOM.
    In the charset "UTF-16", however, there may or may not be a BOM.

    -- 
    John Cowan           http://www.ccil.org/~cowan              cowan@ccil.org
    To say that Bilbo's breath was taken away is no description at all.  There
    are no words left to express his staggerment, since Men changed the language
    that they learned of elves in the days when all the world was wonderful.
            --_The Hobbit_
    


    This archive was generated by hypermail 2.1.5 : Thu Feb 13 2003 - 06:29:39 EST