[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Plea for the support of unicode escape sequences
- From: Petite Abeille <petite.abeille@...>
- Date: Wed, 29 Jun 2011 20:33:28 +0200
On Jun 29, 2011, at 7:16 PM, Mike Pall wrote:
> Deciding not to support UTF-8 escapes in 2011 is
> rather anachronistic.
Meh.
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.