lua-users home
lua-l archive

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


On 02/11/2012 16:06, Rapin Patrick wrote:
On Lua 5.2 documentation, the next sentence immediately following your
citation states:
"Any kind of end-of-line sequence (carriage return, newline, carriage
return followed by newline, or newline followed by carriage return) is
converted to a simple newline."

So this is not a bug, the behavior is documented as this.
Although personally, I would have preferred if new lines characters were
handled verbatim.

What about file read (I guess Lua uses the C routine for text files, which does not let you the choice, IIRC).

Denis