lua-users home
lua-l archive

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

Hi Tuomo,

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<> 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.