I have set the py file header with # -- coding: utf-8 -- and after, I did a test storing é in a variable a = ‘é’ en the stored value in the variable is \xe9 …
The problem is I have to retrieved the value baie/détroit d’‘Hudson in a database table, but if
the string contains something like baie/d\xe9 troit d’'Hudson the record won’t be found…
I don’t get why when I use the print instruction print is printing the accented characters…