http://www.perlmonks.org?node_id=1015687


in reply to Re: Odd encoding problem in Tk app when packaged with pp
in thread Odd encoding problem in Tk app when packaged with pp

Thank you for that.
I did not use the -x switch because I assumed that if the .exe created launches and runs without any error messages, then it's fine.
Anyway, I now ran pp with -x and the problem went away. I can't see this mentioned in the bug reports you linked, so I'm guessing you know this from personal experience...?
I digged around in the .exe files generated by pp, and found that the MANIFEST files are different. Specifically, the one made with -x contains the following entries, which are missing from the one made without -x:
lib/Encode/Byte.pm lib/auto/Encode/Byte/Byte.bs lib/auto/Encode/Byte/Byte.dll lib/sitecustomize.pl

Obviously, this must be the explanation. I guess the lesson is to always use -x.