Menu

bug? : script won't run whith UTF8 characters (such as "à") are in the commented lines

Guillaume
2016-12-31
2017-01-15
  • Guillaume

    Guillaume - 2016-12-31

    The script isn't supose to read the comment, but python script is bothered by some UTF8 characters (which make the debug was quite tricky!)

    and... thanks for your awesome work!

    to reproduce: use a working script and add at the end: #à

     

    Last edit: Guillaume 2016-12-31
  • CFrank

    CFrank - 2017-01-11

    Providing the source code encoding # -- coding: utf-8 --
    will solve this.

    Cheers
    Claudia

     
  • Guillaume

    Guillaume - 2017-01-15

    Thanks a lot for your reply Claudia! Too bas I missed your precious comment. You are right it was an encoding issue. Python 3.6 use utf8 by default, but the font consol need to be configured to use the "Lucida console".

     

    Last edit: Guillaume 2017-01-15

Log in to post a comment.