> 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 _______________________________________________ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32