No encoding statement in the script. It works normally from Git Bash. I'm using Gooey as a GUI and then packaging the whole thing with PyInstaller: https://github.com/chriskiehl/Gooey#packaging
After answering your question I may have found the solution (https://github.com/chriskiehl/Gooey/issues/520). Will give this a go. Thanks for your help! On Wednesday, September 30, 2020 at 8:41:00 PM UTC+10 bwoodsend wrote: > I’m not getting this issue when I test your little print snippet. Do you > have an encoding shebang at the top of your script (such as # -*- coding: > utf-8 -*-)? > > Also, Windows’s cmd prompt isn’t utf-8 by default. When you say *The > source code doesn’t have this problem*, did you verify that it works > normally from cmd (i.e. python my_code.py) or just your Python IDE? > -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pyinstaller/97830f2e-ebfc-426a-9d9d-6d84619dc3fdn%40googlegroups.com.
