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
--
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to