Re: string.replace non-ascii characters

2007-02-12 Thread Gabriel Genellina
En Mon, 12 Feb 2007 07:44:14 -0300, Duncan Booth <[EMAIL PROTECTED]> escribió: > "Gabriel Genellina" <[EMAIL PROTECTED]> wrote in triplicate: > >> If I were paid for the number of lines *written* that would not be a >> great deal :) > > You don't by any chance get paid by the number of posts to

Re: string.replace non-ascii characters

2007-02-12 Thread John Machin
On Feb 12, 11:44 pm, Deniz Dogan <[EMAIL PROTECTED]> wrote: > Duncan Booth wrote: > > "Gabriel Genellina" <[EMAIL PROTECTED]> wrote in triplicate: > > >> If I were paid for the number of lines *written* that would not be a > >> great deal :) > > > You don't by any chance get paid by the number of

Re: string.replace non-ascii characters

2007-02-12 Thread Deniz Dogan
Duncan Booth wrote: > "Gabriel Genellina" <[EMAIL PROTECTED]> wrote in triplicate: > >> If I were paid for the number of lines *written* that would not be a >> great deal :) > > You don't by any chance get paid by the number of posts to c.l.python? I was thinking the same thing. -- http://mail

Re: string.replace non-ascii characters

2007-02-12 Thread Duncan Booth
"Gabriel Genellina" <[EMAIL PROTECTED]> wrote in triplicate: > If I were paid for the number of lines *written* that would not be a > great deal :) You don't by any chance get paid by the number of posts to c.l.python? -- http://mail.python.org/mailman/listinfo/python-list

Re: string.replace non-ascii characters

2007-02-11 Thread Steven D'Aprano
On Mon, 12 Feb 2007 03:01:55 -0300, Gabriel Genellina wrote: > En Mon, 12 Feb 2007 02:38:29 -0300, Samuel Karl Peterson > <[EMAIL PROTECTED]> escribió: > > Sorry to steal the thread! This is only related to your signature: > >> "if programmers were paid to remove code instead of adding it, >>

Re: string.replace non-ascii characters

2007-02-11 Thread Gabriel Genellina
En Mon, 12 Feb 2007 02:38:29 -0300, Samuel Karl Peterson <[EMAIL PROTECTED]> escribió: Sorry to steal the thread! This is only related to your signature: > "if programmers were paid to remove code instead of adding it, > software would be much better" -- unknown I just did that last week. Arou

Re: string.replace non-ascii characters

2007-02-11 Thread Samuel Karl Peterson
Steven Bethard <[EMAIL PROTECTED]> on Sun, 11 Feb 2007 22:23:59 -0700 didst step forth and proclaim thus: > Samuel Karl Peterson wrote: > > Greetings Pythonistas. I have recently discovered a strange anomoly > > with string.replace. It seemingly, randomly does not deal with > > characters of ord

Re: string.replace non-ascii characters

2007-02-11 Thread Steven Bethard
Samuel Karl Peterson wrote: > Greetings Pythonistas. I have recently discovered a strange anomoly > with string.replace. It seemingly, randomly does not deal with > characters of ordinal value > 127. I ran into this problem while > downloading auction web pages from ebay and trying to replace th

string.replace non-ascii characters

2007-02-11 Thread Samuel Karl Peterson
Greetings Pythonistas. I have recently discovered a strange anomoly with string.replace. It seemingly, randomly does not deal with characters of ordinal value > 127. I ran into this problem while downloading auction web pages from ebay and trying to replace the "\xa0" (dec 160, nbsp char in iso-