lua-users home
lua-l archive

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

On Wed, Dec 7, 2011 at 7:54 PM, Luciano de Souza <> 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 ="foo", "rb")

Where file foo is just: