[Python-Dev] more unicode: \U support?

Tim Peters tim_one@email.msn.com
Thu, 27 Jul 2000 17:01:39 -0400

[Bill Tutt]
> Actually, it'd be \U10FFFF, no need for 8 digits.

Nope, \U is taken from the new C standard, and requires exactly 8 hex
digits.  It's a notation for ISO 10646, not for Unicode.

> Java doesn't support surrogates yet, so what Java does for \u doesn't
> make any difference. :)

\u in Python was meant to mimic Java exactly, if for nothing else then for
the sake of JPython.