Answer the question
In order to leave comments, you need to log in
Python 3, UnicodeEncodeError, how to fix?
Debian Wheezy
Python 3.2
Traceback (most recent call last): File "betfair.py", line 10, in print('\u041f\u0410\u0420\u0421\u0418\u0422\u0421\u042f ' + baseurl + parturl) UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-7: ordinal not in range(128)
The line is:
print('PARS ' + baseurl + parturl)
Why is that and how to fix it? Works on ubuntu 14.04
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question