lua-users home
lua-l archive

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


On Tue, 10 Jul 2007 14:20:29 +0100
Gavin Wraith <gavin@wra1th.plus.com> wrote:

> To my slight surprise I find that the script
> does not print any part of
> a line beginning with an ASCII nul.
> Is it supposed to?
yes. use io.write() instead. print() uses lua_tostring(), which treats
string as asciiz one.