lunarmodules / luafilesystem

LuaFileSystem is a Lua library developed to complement the set of functions related to file systems offered by the standard Lua distribution.
https://lunarmodules.github.io/luafilesystem/
MIT License
900 stars 291 forks source link

Does not compile in Windows in Unicode (WCHAR) mode #170

Open rpatters1 opened 10 months ago

rpatters1 commented 10 months ago

It is easy enough to fix by appending "A" to the affected functions:

However, it really depends on what the goal of the repo is. A more appropriate approach might be to convert all the relevant strings to WCHAR and call the W versions. This would require changing the inputs from ANSI to UTF8.