lua-users home
lua-l archive

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


Matt Campbell wrote:
I don't know how LuaCOM handles Unicode when used with LuaPlus, but with
regular Lua, LuaCOM returns strings as UTF-8 and expects incoming
strings to be in UTF-8.
I sure didn't know that. I've browsed most of the docs but seems this bit escaped me somehow. Well, thanks for letting me know.

To run a message loop, use the StartMessageLoop function in the LuaCOM module.
Where did you discover this function? The reason I ask is, I'm beginning to suspect I'm reading the wrong doc or an old version of it. The one I have (converted to plain text) mentions neither UTF-8 nor the message loop functions you did, though granted unicode and message loops are touched upon in a couple of passages. I've regexp searched through it and read most of it, on a need to know basis. Here you are:

http://www.tecgraf.puc-rio.br/~rcerq/luacom/pub/1.3/luacom-htmldoc/

Thanks for the quick post at any rate.

--
With kind regards Veli-Pekka Tätilä
Accessibility, Apps and Coding plus Synths and Music:
http://vtatila.kapsi.fi