unicode to human readable format
davea at davea.name
Fri Dec 27 12:59:58 CET 2013
On Fri, 27 Dec 2013 02:43:58 -0800 (PST), tomasz.kaczorek at gmail.com
> can I ask you for help? when I try to print s i vane the
message: UnicodeEncodeError: 'ascii' codec can't encode characters in
position 0-1: ordinal not in range(128).
> how to solve my problem, please?
First, what version of what os, and what version of python?
Next, what terminal are you running, or what ide, and do you have
Finally what does your program look like, or at least tell us the
type and represents of s .
Bottom line is that s  contains a code point that's larger than 7f
and print is convinced that your terminal can handle only ASCII.
More information about the Python-list