[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [SUGGESTION] Some lfs functionality in os library, please!
- From: "Pierre Chapuis" <catwell@...>
- Date: Thu, 08 Sep 2016 08:25:09 +0000
September 8 2016 1:26 AM, "Jerome Vuarand" <jerome.vuarand@gmail.com> wrote:
> 2016-09-07 16:23 GMT+01:00 Paul Moore <p.f.moore@gmail.com>:
>
>> Looking at the OP's first suggestion, does lfs.dir correctly handle a
>> directory containing a filename that's not encodable in the current
>> codepage on Windows? Sure it's (to an extent) a specialist case, but
>> it matters a lot to some applications.
>
> No, but the same problem applies to io.open. That's why I patch both
> Lua [1] and LFS [2] in my Windows builds [3].
For what it's worth, I do the same thing and wish it would be
the case in upstream Lua.
Strings in Lua world are UTF-8 so it does not really make sense
to me that io.open would break if you give it UTF-8 on Windows.
--
Pierre Chapuis
- References:
- Re: [SUGGESTION] Some lfs functionality in os library, please!, Jerome Vuarand
- [SUGGESTION] Some lfs functionality in os library, please!, Dirk Laurie
- Re: [SUGGESTION] Some lfs functionality in os library, please!, Daurnimator
- Re: [SUGGESTION] Some lfs functionality in os library, please!, Peter Aronoff
- Re: [SUGGESTION] Some lfs functionality in os library, please!, Paul Moore