[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Is it possible to add utf-8 lua source file support in lua 5.2?
- From: J.Jørgen von Bargen <jjvb.primus@...>
- Date: Mon, 27 Sep 2010 13:56:37 +0000 (UTC)
Robert Raschke <rtrlists <at> googlemail.com> writes:
>+ /* wasn't the UTF8 BOM, so reset everything again */
>+ fclose(lf.f);
>+ lf.f = fopen(filename, "r"); /* reopen */
I doubt, this will not work on pipes. (characters are lost?)