Re: Unicode formatting for Strings

2007-02-05 Thread John Machin
On Feb 6, 8:05 am, [EMAIL PROTECTED] wrote: > 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 > > > > s

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

Re: Unicode formatting for Strings

2007-02-05 Thread Chris Mellon
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: > > > > # -*- coding: utf-8 -*- > > filename = u"Ataris Aquáticos #2.txt" > > f = open(filename,

Re: Unicode formatting for Strings

2007-02-05 Thread Kent Johnson
[EMAIL PROTECTED] wrote: > 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.

Re: Unicode formatting for Strings

2007-02-05 Thread kyosohma
On Feb 5, 11:55 am, [EMAIL PROTECTED] wrote: > 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

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