[Python-ideas] Support Unicode code point notation
Chris Angelico
rosuav at gmail.com
Sun Jul 28 01:18:12 CEST 2013
On Sun, Jul 28, 2013 at 12:14 AM, Greg Ewing
<greg.ewing at canterbury.ac.nz> wrote:
> Steven D'Aprano wrote:
>>
>> Aside: you keep writing H..HHHHHH for Unicode code points. Unicode code
>> points go up to hex 10FFFF,
>
> They do *now*, but we can't be sure that they will stay that
> way in the future.
They will for as long as UTF-16 is supported. Really, it would have
been better all round if UTF-16 had never existed, and everyone just
had to switch up to UTF-32; sure, memory would have been wasted, but
concepts like PEP 393 would have been devised to deal with that, and
we wouldn't have stupid bugs in 99% of programming languages.
ChrisA
More information about the Python-ideas
mailing list