lua-users home
lua-l archive

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


I have a file encoded in iso-8859-1 but I want to show it at the screeen
in the charset used by the os (after convert it in some way), let say utf-8.

Is there some way to detect from Lua the charset used by the OS to
proceed adequately? (probably in Linux, Windows and Mac the way,
if exists, is different).

Apart from this, is there a simple way to convert from iso-8859-1 to utf-8
(without iconv), a sort of inverse function of toISO in

Thank you.