On Wed, Sep 21, 2016 at 6:21 AM, Martin Schöön <martin.sch...@gmail.com> wrote: > Den 2016-09-19 skrev Lawrence D’Oliveiro <lawrenced...@gmail.com>: >> On Tuesday, September 20, 2016 at 8:21:25 AM UTC+12, Martin Schöön wrote: >>> But -- now I tested using emacs instead using C-c C-c to execute. >>> Noting happens so I try to run the program from command line and >>> find that now Python can't stand my å, ä and ö. >> >> What version of Python? Python 3 accepts Unicode UTF-8 as a matter of course. > > Python 2.7. > I just tried running my code in Python 3 and that worked like charm.
Then you've found the solution. Py2's Unicode support is weaker than Py3's, and it often depends on encodings. ChrisA -- https://mail.python.org/mailman/listinfo/python-list