lua-users home
lua-l archive

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


> LuaRT strings are containers for characters, where Lua strings are
> containers for bytes (compatible only with one byte encoded characters).

Exactly. The Lua way to handle different interpretations of byte
arrays is to wrap them into tables or userdata with the proper
metamethods.