My script can't work.I've changed my defaultencoding from 'ascii' to
'utf-8',but Python also raises a 'UnicodeEncodeError' error.
the error likes this:
s=u'La Pe\xf1a'
print s
print s
5: ...
And in my script, there're many 'print' statements.So SOS~~~~
what should i do???
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20110218/fa195396/attachment.html>
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20110218/fa195396/attachment.html>