On Wed, Dec 7, 2011 at 7:54 PM, Luciano de Souza
<luchyanus@gmail.com> wrote:
Hello listers,
These two routines are in Kernel32.dll. I don't know if tthere is a COM interface.
My question is: how to do the same in Lua?
This worked for me (Windows 7 64 bits).
os.execute("chcp 65001")
local f = io.open("foo", "rb")
print(f:read("*a"))
f:close()
Where file foo is just:
áéíóú