Joshua Jensen wrote:
FWIW, LuaPlus (http://luaplus.org) has wide string support. It is probably similar to your patch, but the wide string functionality is built into the language itself. It can even read UCS-2 .lua files. Be sure to grab latest Subversion from svn://svn.luaplus.org/LuaPlus/work51. Everything is #ifdef'ed. Look for LUA_WIDESTRING and LUA_WIDESTRING_FILE.
It would be great to have this functionality in Lua 5.2. -- Shmuel