unicode to human readable format

Ned Batchelder ned at nedbatchelder.com
Fri Dec 27 12:47:07 CET 2013


On 12/27/13 5:43 AM, tomasz.kaczorek at gmail.com wrote:
> hello,
> can I ask you for help? when I try to print s[0] 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?
>
>
> regards,
> t.
>

For help with the fundamentals, you can read or watch this PyCon 
presentation:  Pragmatic Unicode, or, How Do I Stop the Pain? 
http://nedbatchelder.com/text/unipain.html



-- 
Ned Batchelder, http://nedbatchelder.com




More information about the Python-list mailing list