From a2f84ceda54b17af3b79fb63ec3d1ba5e738c2ce Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Wed, 7 May 2003 17:11:15 +0000 Subject: Update traceback message --- Doc/tut/tut.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/tut/tut.tex b/Doc/tut/tut.tex index d57d89a..6c3758c 100644 --- a/Doc/tut/tut.tex +++ b/Doc/tut/tut.tex @@ -850,7 +850,7 @@ u'\xe4\xf6\xfc' >>> str(u"äöü") Traceback (most recent call last): File "", 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 -- cgit v0.12