[Pythonmac-SIG] appscript raises deprecation warning for macerrors

brad.allen@omsdal.com brad.allen at omsdal.com
Mon Jul 11 07:29:45 CEST 2005


Bob Ippolito <bob at redivi.com> wrote on 07/10/2005 03:04:00 PM:

> That's really the wrong way to solve that problem, if you read the 
> PEP that the warning references then you'll see how to add a -*- 
> coding: -*- to the file such that it will simply interpret the source 
> characters in the correct encoding.  In this case, it's almost 
> certainly macroman.

Aha, so those garbage characters might have made sense if I had 
reopened the document using Mac Roman encoding. However, it seemed
odd that most of those were just individual characters here and
there typed in the comments, and they didn't look like anything
a human would have typed on purpose.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/pythonmac-sig/attachments/20050711/0e1d3da9/attachment.htm


More information about the Pythonmac-SIG mailing list