Re: [python-win32] com_error Unicode problems

2008-07-23 Thread niki
Tim Golden wrote: There's a thread over on c.l.py which concerns the error messages returned from the WMI module, which uses win32com.client and all its works and promises... http://mail.python.org/pipermail/python-list/2008-July/499172.html The OP is running on a Simple Chinese edition of

Re: [python-win32] com_error Unicode problems

2008-07-23 Thread Tim Golden
niki wrote: Tim Golden wrote: The OP is running on a Simple Chinese edition of Windows XP, and the error message, naturally, returns Simple Chinese characters. But... it's apparent that the com_error info structure returns not Unicode but byte stream. I *think* I can decode into Unicode by

[python-win32] com_error Unicode problems

2008-07-22 Thread Tim Golden
There's a thread over on c.l.py which concerns the error messages returned from the WMI module, which uses win32com.client and all its works and promises... http://mail.python.org/pipermail/python-list/2008-July/499172.html The OP is running on a Simple Chinese edition of Windows XP, and the