[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: io:lines() and \0
- From: steve donovan <steve.j.donovan@...>
- Date: Mon, 17 Feb 2014 17:55:50 +0200
On Mon, Feb 17, 2014 at 5:51 PM, René Rebe <rene@exactcode.de> wrote:
> I just noticed that io:lines() does not cope with \0 in the lines, and thus
> just returns truncated lines (lua-5.2.3, but legacy 5.1 likewise).
This is not surprising. The whole idea of 'lines' only really applies
to text files, at least in my head ;)