pyinstaller/pyinstaller — pull request #3 by coolhandmook (2012-02-05 22:41:12+00:00)
Title: Potential fix for reopened #474: add rthook for encodings.

f830bf58f093d9bea21b1c3b78010a7d716a0db3 (Merge branch 'feature-474-eliminate_useUnicode' into develop) broke some tests on Windows. Here's a possible fix.

It seems that at least on Windows, Python is doing some extra work to hook up the codecs on the import (perhaps in __init__), so it's not enough to just package up all the encodings.

I'm happy to tweak this if the file naming etc isn't to your liking.

Cheers,
Dave.