Does Python mess with the (unicode) code page?

Roy Smith roy at panix.com
Thu Dec 3 13:38:28 EST 2009


We've got a windows executable which used to get run out of a shell script 
(Cygwin bash) and is now being run with subprocess.Popen().  The windows 
app is misbehaving.  To make a long story short, the guy who wrote the code 
in question says,

> it's all based on the return values of the WinAPI calls GetACP and GetOEMCP 
> [...] so maybe Python is doing something like setting the active code page
> and OEM code page prior to the point when they "exec" stuff?

Does Python do these things?  I'm using Python 2.5.1.



More information about the Python-list mailing list