1.5.2, COM, Unicode

Mark Hammond MarkH at ActiveState.com
Tue Jun 12 04:17:20 EDT 2001


Grant Edwards wrote:

> I'm pretty sure I got e-mails like that before, and I was
> wondering what the COM support library did with them in 1.5.2.
> Were all of the Unicode strings in COM objects automagically
> converted in to latin-1 encoding?


It used "mbcs" encoding, which I believe is commonly "latin-1".

If you really want, you should be able to modify sitecustomize.py to get 
the old behaviour back.  However, I recommend that you just suffer 
through this to avoid other "gotchya's" in the future.

Mark.




More information about the Python-list mailing list