lua-users home
lua-l archive

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

On Thu, Sep 14, 2006 at 06:48:31PM +0200, Philippe Lhoste wrote:
> MS provide functions to convert to UTF-8, which could be useful for 
> processing in Lua).
you can use lhf's pack module to read 2-byte numbers from the UTF-16 data
and use unicode.utf8.char(...) to construct utf8 strings.

probably slow as hell but should work