[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: LuaFileSystem on Windows and character sets
- From: Andrew Wilson <agrwagrw@...>
- Date: Sat, 5 Sep 2009 20:56:39 -0400
It seems you need to set current console code page to 65001 using chcp
command, see following email discussion.
On Fri, Sep 4, 2009 at 12:41 PM, Tuomo Valkonen<email@example.com> wrote:
> Is there some way to make LuaFileSystem to use UTF-8 on
> Windows? Currently it seems to use some character set
> (winlatin1?) that can not represent all the characters
> in use: string.len of lfs.dir results equals the length
> of the string printed on the console, which is full of
> question marks for characters not covered by a single
> byte. So the results of lfs.dir seem to be full of
> non-existent files.