----- Original Message ----- From: "Harshal Trivedi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 23, 2004 12:42 PM Subject: My Querry
> How can i make sure that UTF-8 format string has terminated while > encoding it, as compared to C program string which ends with '\0' > (NULL) character? > > -> Is there any special symbol or procedure to determine end of UTF-8 > string OR just ASCII NULL '\0' is used as it is to indicate that. If you happen to know that the UTF-8 string in question is a C program string encoded in UTF-8 then of course you can use ASCII NULL '\0' . But _DON'T_ assume this also holds if the string is not C. > > -- > Harshal P. Trivedi > Software Engineer > >