[Tutor] Excel com strange behavior

Kent Johnson kent37 at tds.net
Fri Aug 29 14:47:07 CEST 2008


On Fri, Aug 29, 2008 at 8:18 AM, johan nilsson <johanpo at googlemail.com> wrote:

> "c:\pythonxy\python\lib\site-packages\pywin32-2.11-py2.5-win32.egg\win32com\client\build.py",
> line 542, in <lambda>
>     return filter( lambda char: char in valid_identifier_chars, className)
> UnicodeDecodeError: 'ascii' codec can't decode byte 0x83 in position 52:
> ordinal not in range(128)

I don't understand how your code is causing this error, but what it
means is that some string that is expected to be ascii contains a
non-ascii character with code 0x83. In Windows code page 1252 that is
an ƒ character.

Kent


More information about the Tutor mailing list