unicode to human readable format
steve+comp.lang.python at pearwood.info
Fri Dec 27 12:37:17 CET 2013
tomasz.kaczorek at gmail.com wrote:
> 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?
What version of Python?
What operating system?
What environment are you running in? IDLE? The shell or cmd.exe? Powershell?
xterm? Something else?
Please copy and paste the complete traceback, starting from the line
Traceback (most recent call last):
to the end.
Please print repr(s) and show us the output.
More information about the Python-list