lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 2 April 2018 at 15:39, Roberto Ierusalimschy <roberto@inf.puc-rio.br> wrote:
>> I feel the manual is a bit misleading when it says the following:
>>
>> >  Strings in Lua can contain any 8-bit value, including embedded zeros, which can be specified as '\0'.
>
> I could not find that sentence in the current manual (Lua 5.3.4).

Oh, please accept my apologies, I had the 5.2 manual open instead of 5.3.

5.3 has: "Lua is 8-bit clean: strings can contain any 8-bit value,
including embedded zeros ('\0')."

which resolves the issue.

Regards,
Matthew