Re: Unicode formatting for Strings

2007-02-05 Thread robson . cozendey . rj
On Feb 5, 7:00 pm, "Chris Mellon" <[EMAIL PROTECTED]> wrote: > On 2/5/07, Kent Johnson <[EMAIL PROTECTED]> wrote: > > > > > > > [EMAIL PROTECTED] wrote: > > > Hi, > > > > I´m trying desperately to tell the interpreter to put an 'á' in my > > > string, so here is the code snippet: > > > > # -*- codi

Unicode formatting for Strings

2007-02-05 Thread robson . cozendey . rj
Hi, I´m trying desperately to tell the interpreter to put an 'á' in my string, so here is the code snippet: # -*- coding: utf-8 -*- filename = u"Ataris Aquáticos #2.txt" f = open(filename, 'w') Then I save it with Windows Notepad, in the UTF-8 format. So: 1) I put the "magic comment" at the sta