subprocess decoding?
MC
XX.XmcX at XX.XmclaveauX.com
Sat Oct 28 07:42:26 EDT 2006
Hi!
On win-XP (french), when I read subprocess (stdout), I must use
differents decoding (cp1252,cp850,cp437, or no decoding), depending of
the "launch mode" of the same Python's script:
- from command-line
- from start+run
- from icon
- by Python-COM-server
- etc.
(.py & .pyw can also contribute)
How to know, on the fly, the encoding used by subprocess?
Thanks by advance
--
@-salutations
Michel Claveau
More information about the Python-list
mailing list