On Mon, 22 Oct 2001 [EMAIL PROTECTED] wrote: > In a recent note, Thomas E. Dickey said: > > > Date: Mon, 22 Oct 2001 10:28:26 -0400 (EDT) > > > > would a 0x00 be legal following the 0x80? (If not, we could add a check > > for that special case). > > > I defer that one to the Unicode/UTF8/CJK/Big5 experts. Such a check > would be insurance for the multibyte cases, but might leave some > breakage for non-ASCII ISO8859 characters. Would a character with the > 0x80 bit set be legal at the end of an ISO8859 string?
I don't think so (0x80 is a control character in ISO 8859). 0x80,0x00 shouldn't appear embedded in UTF-8 either. -- T.E.Dickey <[EMAIL PROTECTED]> http://invisible-island.net ftp://invisible-island.net ; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to [EMAIL PROTECTED]
