lua-users home
lua-l archive

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

On Jun 29, 2011, at 7:16 PM, Mike Pall wrote:

> Deciding not to support UTF-8 escapes in 2011 is
> rather anachronistic.


What's wrong with hex sequences?

print( '\xE2\x86\x92' )


Or literals?

print( '←' )


Plus, the OP requested unicode sequences, e.g. \u2192 instead of \xE2\x86\x92 for →. Doesn't seem worth the trouble.