lua-users home
lua-l archive

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


> However, the octal notation you mention is OK as well (I didn't realise that
> the unicode tables in http://www.utf8-chartable.de can be switched from hex
> to octal).

Lua does not support octal escape characters !
Until Lua 5.1, you have to enter *decimal* escape characters in
strings ("\226\148\128").
With Lua 5.2, hexadecimal escape characters are added ("\xe2\x94\x80")