Zero termination

From: Venugopalan G (
Date: Sat Jun 27 2009 - 07:34:51 CDT

  • Next message: John (Eljay) Love-Jensen: "RE: Zero termination"

    Hi grp,

    I just want to know if a valid UTF16 string can contain the value zero(0),
    not the character zero but the 16bit value zero.
    Like, if i iterate through each unicode character(16 bits), will i find zero
    at any time? Is Zero a valid code point or a part of a code point?
    Basically can i use zero to represent termination of a U16 string? because
    if zero is in the middle of str, then the program will terminate in wrong


    This archive was generated by hypermail 2.1.5 : Sat Jun 27 2009 - 11:07:24 CDT