lua-users home
lua-l archive

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

> As for the core Lua lib, it's mostly string width independent
> I believe, although a quick search across the source produces a 
> number of calls to things like strlen in routines like 
> lua_pushstring, lua_dostring, luaO_chunkid, luaS_new, and 
> luaV_strcomp.

Just a remark: for UTF-8, the way Lua uses strlen, strcat, strcpy, etc.
is OK, as UTF-8 strings cannot contain zeros. The only dependency in the
core is `strcoll' (used in luaV_strcmp to order strings).

-- Roberto