Python3: UnicodeEncodeError: 'ascii' codec can't encode character '\xfc'
问题 I'am trying to get running a very simple example on OSX with python 3.5.1 but I'm really stucked. Have read so many articles that deal with similar problems but I can not fix this by myself. Do you have any hints how to resolve this issue? I would like to have the correct encoded latin-1 output as defined in mylist without any errors. My code: # coding=<latin-1> mylist = [u'Glück', u'Spaß', u'Ähre',] print(mylist) The error: Traceback (most recent call last): File "/Users/abc/test.py", line 4