Re: Another å, ä, ö question

2016-09-22 Thread Martin Schöön
Den 2016-09-22 skrev Peter Otten <__pete...@web.de>: > Martin Schöön wrote: >> >> I am not sure I answer your questions since I am not quite sure I >> understand it but here goes: The complete file is UTF-8 encoded as >> that is how Geany is set up to create new files (I just checked). > > When

Re: Another å, ä, ö question

2016-09-22 Thread Chris Angelico
On Thu, Sep 22, 2016 at 10:27 PM, Peter Otten <__pete...@web.de> wrote: > When the encoding used for the file and the encoding used by the terminal > differ the output of non-ascii characters gets messed up. Example script: > > # -*- coding: iso-8859-15 -*- > > print "first unicode:" > print

Re: Another å, ä, ö question

2016-09-22 Thread Peter Otten
Martin Schöön wrote: > Den 2016-09-20 skrev Peter Otten <__pete...@web.de>: >> Martin Schöön wrote: >> >>> Den 2016-09-19 skrev Christian Gollwitzer : Am 19.09.16 um 22:21 schrieb Martin Schöön: > I am studying some of these tutorials: >

Re: Another å, ä, ö question

2016-09-21 Thread Martin Schöön
Den 2016-09-20 skrev Peter Otten <__pete...@web.de>: > Martin Schöön wrote: > >> Den 2016-09-19 skrev Christian Gollwitzer : >>> Am 19.09.16 um 22:21 schrieb Martin Schöön: I am studying some of these tutorials: https://pythonprogramming.net/matplotlib-intro-tutorial/

Re: Another å, ä, ö question

2016-09-21 Thread Martin Schöön
Den 2016-09-20 skrev Chris Angelico : > On Wed, Sep 21, 2016 at 6:21 AM, Martin Schöön > wrote: >> Den 2016-09-19 skrev Lawrence D’Oliveiro : >>> On Tuesday, September 20, 2016 at 8:21:25 AM UTC+12, Martin Schöön wrote: But

Re: Another å, ä, ö question

2016-09-20 Thread Chris Angelico
On Wed, Sep 21, 2016 at 6:21 AM, Martin Schöön wrote: > Den 2016-09-19 skrev Lawrence D’Oliveiro : >> 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.

Re: Another å, ä, ö question

2016-09-20 Thread Peter Otten
Martin Schöön wrote: > Den 2016-09-19 skrev Christian Gollwitzer : >> Am 19.09.16 um 22:21 schrieb Martin Schöön: >>> I am studying some of these tutorials: >>> https://pythonprogramming.net/matplotlib-intro-tutorial/ >>> >>> I am recreating the code and I use my native Swedish

Re: Another å, ä, ö question

2016-09-20 Thread Martin Schöön
Den 2016-09-19 skrev Lawrence D’Oliveiro : > 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

Re: Another å, ä, ö question

2016-09-20 Thread Martin Schöön
Den 2016-09-19 skrev Christian Gollwitzer : > Am 19.09.16 um 22:21 schrieb Martin Schöön: >> I am studying some of these tutorials: >> https://pythonprogramming.net/matplotlib-intro-tutorial/ >> >> I am recreating the code and I use my native Swedish for comments, >> labels and

Re: Another å, ä, ö question

2016-09-20 Thread Steven D'Aprano
On Tuesday 20 September 2016 06:21, Martin Schöön wrote: > I am puzzled: With Geany there is no problem but outside Geany > I am punished by Python for using Swedish. > > Any ideas? Yes, you are being punished for what Sweden did to Julian Assange. No, only kidding. We can't really help you

Re: Another å, ä, ö question

2016-09-19 Thread Lawrence D’Oliveiro
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

Re: Another å, ä, ö question

2016-09-19 Thread Christian Gollwitzer
Am 19.09.16 um 22:21 schrieb Martin Schöön: I am studying some of these tutorials: https://pythonprogramming.net/matplotlib-intro-tutorial/ I am recreating the code and I use my native Swedish for comments, labels and titles. Until now I have been doing so using Geany and executing using F5.

Another å, ä, ö question

2016-09-19 Thread Martin Schöön
I am studying some of these tutorials: https://pythonprogramming.net/matplotlib-intro-tutorial/ I am recreating the code and I use my native Swedish for comments, labels and titles. Until now I have been doing so using Geany and executing using F5. This works fine. But -- now I tested using