Lynn Oliver píše v Po 05. 11. 2012 v 13:08 -0800: > For OSX, you can set the encoding by placing the following as the > first or second line of a module: #-*- coding: utf-8 -*- > > That doesn't work on Windows, as Python apparently sets the encoding > when starting up and won't change it later.
That's weird. The coding line should work everywhere, right? When you speak about Python do you mean 'Python interpreter' or the executable created by pyinstaller? How is it related to pyinstaller itself? Pyinstaller just uses compiled python byte code and thus I think the coding line does not matter in this situation. Could it be that the python locale should be set properly in your app? What are you trying to fix? -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pyinstaller?hl=en.
