lua-users home
lua-l archive

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


It appears that Lua can't handle unicode file names on Windows. I
found an old discussion on this
(http://lua.2524044.n2.nabble.com/Support-for-Windows-unicode-paths-td3303722.html),
but not sure if anything has changed.

The call io.open("D:\\Lua\\下载\\foo.lua") returns
'nil	"D:\\Lua\\下载\\foo.lua: No such file or directory"	2' (the file is
there for sure; dir command on the same file displays the
information). What options do I have for working with unicode file
names? I want to be able to read/write files with unicode paths. This
is using Lua 5.1.4.

Paul.