[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: lua for unicode
- From: lua+Steven.Murdoch@...
- Date: Mon, 02 Dec 2002 14:23:41 +0000
> Just a remark: for UTF-8, the way Lua uses strlen, strcat, strcpy, etc.
> is OK, as UTF-8 strings cannot contain zeros.
The null character ('\0' in C) is represented in Unicode as a single, zero
byte. Will Lua handle this case correctly, since I think it permits strings
with '\0' in them? However as you state, UTF-8 does not permit a zero byte in
any other circumstance.
Steven Murdoch.