Update traceback message

This commit is contained in:
Raymond Hettinger 2003-05-07 17:11:15 +00:00
parent fcf6b3ecde
commit a2f84ceda5
1 changed files with 1 additions and 1 deletions

View File

@ -850,7 +850,7 @@ u'\xe4\xf6\xfc'
>>> str(u"äöü")
Traceback (most recent call last):
File "<stdin>", line 1, in ?
UnicodeError: ASCII encoding error: ordinal not in range(128)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-2: ordinal not in range(128)
\end{verbatim}
To convert a Unicode string into an 8-bit string using a specific