Lua and ion on utf8 CD

Alexander E. Patrakov patrakov at ums.usu.ru
Sun Jul 31 09:02:43 PDT 2005


Hello,

I am not a lua specialist, but a quick glance at lua manual revealed 
that lua treats the terms "byte" and "character" as completely 
equivalent. There is no binding for mbrlen() function in the string.* 
namespace. This means no support for UTF-8.

In fact, some experimental support has been added at 2005-05-27:

http://luaforge.net/forum/forum.php?forum_id=492

See also:

http://lua-users.org/wiki/LuaUnicode

Which option should I choose?

1) Leave everything as-is in hope that non-ASCII strings are never 
passed to lua by ion.

2) Upgrade lua to CVS version and be unsure whether it works or whether 
ion can use this new UTF-8 feature.

3) Drop both packages.

-- 
Alexander E. Patrakov



More information about the livecd mailing list