Assuming that the error comes back in the sys.stdout encoding, the following version *should* work ok. I still haven't got a non-English set up to test it on, but it certainly does return a Unicode error message.
http://timgolden.me.uk/wmi-project/wmi.py The usual test case, if you wouldn't mind: <code> import wmi wmi.WMI ("non-existent computer") </code> should give a (language-specific) error message, not an UnicodeDecodeError TJG -- http://mail.python.org/mailman/listinfo/python-list