lua-users home
lua-l archive

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


I try to analyse a unicode character, e.g. "ည". I am able to get the ascii code for this string using: print(utf8.byte("ည",1,-1)) This gives me 4106, which is correct. However I would like to get the unicode codepoint in hex notation, for this character this would be: 0x100A How do I get this result? (I use the slnunicode library)