Possible Duplicate:
Python UnicodeDecodeError - Am I misunderstanding encode?
I am having trouble printing some unicode symbols in Python like this:
# encoding: utf-8
print u'ęėįųšįšū'
When I try to run this on my VPS Ubuntu 12 server with Python 2.7, I get an error:
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-7: ordinal not in range(128)
Why does it try to encode them in ASCII?
The commands run correctly on my local machines.
The file is correctly encoded in utf-8.