mgedmin / zodbbrowser

ZODB browser
http://launchpad.net/zodbbrowser
Other
19 stars 6 forks source link

Better Unicode repr #17

Open mgedmin opened 9 years ago

mgedmin commented 9 years ago

Unicode strings full of non-ASCII characters are rendered as u'\uXXXX\uXXXX\uXXXX ...' which is unreadable. Please render printable characters (such as accented Latin or Cyrillic letters) as themselves. Python 3's __repr__ does this right.

mgedmin commented 6 years ago

In a sense this bug will become irrelevant in 2020 when Python 2.7 dies forever.