Re: Zero termination

From: Adam Twardoch (list.adam@twardoch.com)
Date: Mon Jun 29 2009 - 20:42:02 CDT

  • Next message: Doug Ewell: "Re: Zero termination"

    Doug Ewell wrote:
    > I think the original poster's point was that he didn't know what his
    > input would look like, let alone have control over it.

    Right. But the point is, U+0000 is a valid Unicode codepoint, the NULL.
    It may be part of a Unicode string. It may be of limited use, but it is
    a codepoint. Using a codepoint for termination is not the best idea.

    U+FFFF is not a valid Unicode codepoint, it's not part of Unicode. It
    may not be part of a Unicode string. So by definition, it can be used
    for termination.

    -- 
    Adam Twardoch
    | Language Typography Unicode Fonts OpenType
    | twardoch.com | silesian.com | fontlab.net
    The illegal we do immediately.
    The unconstitutional takes a little longer.
    (Henry Kissinger)
    


    This archive was generated by hypermail 2.1.5 : Mon Jun 29 2009 - 20:44:08 CDT