[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Is terminating null required for Lua strings?
- From: "Juris Kalnins" <juris@...>
- Date: Tue, 05 May 2009 08:38:00 +0300
On Mon, 04 May 2009 05:07:14 +0300, Matthew Paul Del Buono <firstname.lastname@example.org> wrote:
> It is important to point out that you will find in the manual
> that string.format does not work with strings with zeros in the
> middle in many cases. This is explicitly stated in the manual.
> The only format specifier that I'm aware of that allows for
> zeros is %q.
Manual does not say anything about missing the final \0 though, because
such case is not possible without modifying Lua core.