lua-users home
lua-l archive

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


Shmuel Zeigerman wrote:
KHMan wrote:
Andrew Wilson wrote:
To display try chcp 65001, to use UTF-8 you with lfs you probably have
to convert UTF-8 to UTF-16 and then use lfs calls. And nope I haven't
tried any of this.   AGRW

lfs can't use UTF-8 or UTF-16.

On Windows, Quylthulg [1] has all the functionality of lfs and supports UTF-8 / UTF16.

[1] http://luaforge.net/projects/quylthulg/

UTF-8 only, also it's rather hastily hacked together and may be overhauled at any time... there are stuff I don't fully trust in there, but I have been using it to synchronize to Flash drives and external HDDs for several months now.

I would rather a more mainstream module like LuaFileSystem pick up support for Unicode; this would ensure at least some level of long-term support or dependability.

Another way would be to run Lua on Cygwin 1.7... it should work I suppose but I haven't gotten around installing Cygwin 1.7 yet.

--
Cheers,
Kein-Hong Man (esq.)
Kuala Lumpur, Malaysia