[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Unicode and CE?
- From: Roberto Ierusalimschy <roberto@...>
- Date: Wed, 31 May 2000 10:50:59 -0300
> this is assuming the lua strlib also works with binary
> strings? can anyone confirm this?
All strings in Lua are "binary", meaning that they can be any sequence
of binary values (including zeros). The only places that do not
accept strings with embedding zeros are patterns (although the subject
string and eventual results may contain zeros; in the pattern itself you
can use a "%z" to match a zero), and the function "format".
-- Roberto