lua-users home
lua-l archive

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

2017-10-25 22:23 GMT+02:00 Egor Skriptunoff <>:

> But maybe someday Lua would become UTF-8-only language...
> In this case all Lua functions (including string-, patterns-, file- and
> scriptload- operations) should work only with UTF-8 encoded strings.

Lua is agnostic. UTF-8? Not supported, but a library that provides the
basics is provided. UTF-16? If compiled in, fully supported; otherwise,
not even a library. ANSI? Sure, it's just bytes. No skin off Lua's nose if
yoiu use it in a certain wayt.