Files
cpython/Lib/test/test_codeccallbacks.py
Walter Dörwald 0098d86433 Backport checkins:
* Enhance message for UnicodeEncodeError and UnicodeTranslateError.
  If there is only one bad character it will now be printed in a
  form that is a valid Python string.
* Add a unicode prefix to the characters in the UnicodeEncodeError
  and UnicodeTranslateError message.
2003-08-12 17:38:22 +00:00

27 KiB