[Python-3000] Displaying strings containing unicode escapes
"Martin v. Löwis"
martin at v.loewis.de
Thu May 1 18:38:53 CEST 2008
> > I think "standard repertoire based on Unicode" may be confusing the issue.
>
> By "standard repertoire" I mean that all Pythons will show the same
> characters the same way, while "based on Unicode" is intended to mean
> looking at TR#36 and TR#39 in picking the repertoires.
I don't think either TR#36 or TR#39 are applicable here. This is not
identifier syntax; there may various symbols and whatnot in the
string, which should also be rendered as-is.
The escaping that repr() does is *not* to achieve unambiguity,
but to achieve printability.
Regards,
Martin
More information about the Python-3000
mailing list