coolhandmook/pyinstaller — comment on commit dcf8ddb0be1e3efa70555a964db0713478b4f7c6
File: support/rthooks/pyi_rth_encodings.py line 1
By coolhandmook:

So something like this? Or more detail?

# At least on Windows, Python seems to hook up the codecs on this
# import, so it's not enough to just package up all the encodings.