[python-win32] Unicode error on the event log

Ivan Hernandez Puga ivan.hernandez@globalsis.com.ar
Fri, 21 Dec 2001 12:06:48 -0300


Hello again. I have this problem while reading an event. Everything else =
works OK but this message makes the script halt. Is there some =
workaround?
Thanks in advance

Ivan Hernandez

Traceback (most recent call last):
  File "evt.py", line 87, in ?
    msg =3D str(win32evtlogutil.SafeFormatMessage(ev_obj, logtype))
UnicodeError: ASCII encoding error: ordinal not in range(128)