[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Unicode escape sequences?
- From: Patrick Rapin <toupie300@...>
- Date: Sat, 3 Dec 2011 11:57:52 +0100
> 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")