Apologies, I did not see that Kent had already answered this ! Thanks Kent I put that encoding and it works fine. Although surprisingly the other idea :- write the string with '\xc2' did not work.
--- David Holland <[EMAIL PROTECTED]> wrote: > Date: Fri, 31 Dec 2004 16:28:59 +0000 (GMT) > From: David Holland <[EMAIL PROTECTED]> > Subject: ASCII encoding for a � sign > To: [email protected] > > I ran a program with a "�" sign, and I got this > message :- > > "sys:1: DeprecationWarning: Non-ASCII character > '\xc2' > in file birdgame32a.py on line 93, but no encoding > declared; see > http://www.python.org/peps/pep-0263.html > for details' > I looked at the message but I am not sure what > encoding to use for "�". > > > > > > ___________________________________________________________ > > ALL-NEW Yahoo! Messenger - all new features - even > more fun! http://uk.messenger.yahoo.com > ___________________________________________________________ ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com _______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
