[python-win32] Non-ascii character in source code cause 'Exceptionoccurred'

aurora aurora00 at gmail.com
Tue Jul 4 18:15:54 CEST 2006

Thank you for the quick response :)


>> Any presence of a non-ascii character, even if it is in the
>> comment only,
>> would cause this problem. I have tried various encoding, with
>> or without
>> BOM, and also adding the encoding specification at the top of
>> the file.
>> All these give the same result. On the other hand a similar
>> Javascript
>> would run alright.
>> Is this a win32 implementation issue?
> Yes, this is a problem in pywin32.  I've fixed it locally (well, at least
> extended chars in comments now works), so it will be available as soon  
> as I
> get a new pywin32 build out.
> Cheers,
> Mark

More information about the Python-win32 mailing list