Re: Uppercase/Lowercase on unicode

2009-06-05 Thread Дамјан Георгиевски
> I just to check it in the python shell and it's correct. > Then the problem is by iPython that I was testing it from there. yes, iPython has a bug like that https://bugs.launchpad.net/ipython/+bug/339642 -- дамјан ( http://softver.org.mk/damjan/ ) A: Because it reverses the logical flow of

Re: Uppercase/Lowercase on unicode

2009-06-05 Thread Kless
On 5 jun, 09:59, "Gabriel Genellina" wrote: > En Fri, 05 Jun 2009 06:39:31 -0300, Kless   > escribió: > > > Is there any librery that works ok with unicode at converting to > > uppercase or lowercase? > > > -- > foo = u'áèïöúñ' > > print(foo.upper()) > > áèïöúñ > > ---

Re: Uppercase/Lowercase on unicode

2009-06-05 Thread Ben Finney
Kless writes: > Is there any librery that works ok with unicode at converting to > uppercase or lowercase? > > -- > >>> foo = u'áèïöúñ' > > >>> print(foo.upper()) > áèïöúñ > -- Works fine for me. What do you get when trying to replicate this: >>> import sys

Re: Uppercase/Lowercase on unicode

2009-06-05 Thread Gabriel Genellina
En Fri, 05 Jun 2009 06:39:31 -0300, Kless escribió: Is there any librery that works ok with unicode at converting to uppercase or lowercase? -- foo = u'áèïöúñ' print(foo.upper()) áèïöúñ -- Looks like Python thinks your terminal uses utf-8, but it actually

Uppercase/Lowercase on unicode

2009-06-05 Thread Kless
Is there any librery that works ok with unicode at converting to uppercase or lowercase? -- >>> foo = u'áèïöúñ' >>> print(foo.upper()) áèïöúñ -- -- http://mail.python.org/mailman/listinfo/python-list