McMillan / Tk / encoding problem

Gordon McMillan gmcm at hypernet.com
Fri Oct 4 08:35:45 EDT 2002


[posted and mailed]

Thomas Korb wrote:

[...]

> When running the application as a normal Python-script, everything 
> works just fine. But after building a standalone executable (for MS 
> Windows) with Gordon McMillan's Installer (newest version 5.x) this
> does not work any more. E.g. when saving text from the text-widget
> to a file, I end up with a Unicode-file and not with an iso-8859-1
> encoded file. 

If your startup (site.py, sitecustomize.py, ...) contains anything
that sets the default encoding, Installer will *not* pick it up.

-- Gordon
http://www.mcmillan-inc.com/



More information about the Python-list mailing list