lua-users home
lua-l archive

Lua 5.3 idiom to convert ISO-8859-1 into UTF-8

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


I suppose this is well known to everybody except me (who until ten
minutes ago was doing it by `iconv` via a temporary file and
`io.popen`).
 utf = utf8.char(iso:byte(1,-1))

AltStyle によって変換されたページ (->オリジナル) /