Re: Unicode again ... default codec ...

2009-10-30 Thread Gabriel Genellina
En Fri, 30 Oct 2009 13:40:14 -0300, zooko zoo...@gmail.com escribió: On Oct 20, 9:50 pm, Gabriel Genellina gagsl-...@yahoo.com.ar wrote: DON'T do that. Really. Changing the default encoding is a horrible, horrible hack and causes a lot of problems. I'm not convinced. I've read all of the

Re: Unicode again ... default codec ...

2009-10-22 Thread Lele Gaifax
Gabriel Genellina gagsl-...@yahoo.com.ar writes: En Wed, 21 Oct 2009 06:24:55 -0300, Lele Gaifax l...@metapensiero.it escribió: Gabriel Genellina gagsl-...@yahoo.com.ar writes: nosetest should do nothing special. You should configure the environment so Python *knows* that your console

Re: Unicode again ... default codec ...

2009-10-22 Thread Gabriel Genellina
En Thu, 22 Oct 2009 05:25:16 -0300, Lele Gaifax l...@metapensiero.it escribió: Gabriel Genellina gagsl-...@yahoo.com.ar writes: En Wed, 21 Oct 2009 06:24:55 -0300, Lele Gaifax l...@metapensiero.it escribió: Gabriel Genellina gagsl-...@yahoo.com.ar writes: nosetest should do nothing

Re: Unicode again ... default codec ...

2009-10-22 Thread Lele Gaifax
Gabriel Genellina gagsl-...@yahoo.com.ar writes: En Thu, 22 Oct 2009 05:25:16 -0300, Lele Gaifax l...@metapensiero.it escribió: Who is the culprit here? unittest, or ultimately, this bug: http://bugs.python.org/issue4947 Thank you. In particular I found

Re: Unicode again ... default codec ...

2009-10-22 Thread Wolodja Wentland
On Thu, Oct 22, 2009 at 13:59 +0200, Lele Gaifax wrote: Gabriel Genellina gagsl-...@yahoo.com.ar writes: unittest, or ultimately, this bug: http://bugs.python.org/issue4947 http://bugs.python.org/issue4947#msg87637 as the best fit, I think You might also want to have a look at:

Re: Unicode again ... default codec ...

2009-10-21 Thread Lele Gaifax
Gabriel Genellina gagsl-...@yahoo.com.ar writes: DON'T do that. Really. Changing the default encoding is a horrible, horrible hack and causes a lot of problems. ... More reasons: http://tarekziade.wordpress.com/2008/01/08/syssetdefaultencoding-is-evil/ See also this recent thread in

Re: Unicode again ... default codec ...

2009-10-21 Thread Gabriel Genellina
En Wed, 21 Oct 2009 06:24:55 -0300, Lele Gaifax l...@metapensiero.it escribió: Gabriel Genellina gagsl-...@yahoo.com.ar writes: DON'T do that. Really. Changing the default encoding is a horrible, horrible hack and causes a lot of problems. ... More reasons:

Unicode again ... default codec ...

2009-10-20 Thread Stef Mientki
hello, As someone else already said, every time I think : now I understand it completely, and a few weeks later ... Form the thread how to write a unicode string to a file ? and my specific situation: - reading data from Excel, Delphi and other Windows programs and unicode Python - using

Re: Unicode again ... default codec ...

2009-10-20 Thread Gabriel Genellina
En Tue, 20 Oct 2009 17:13:52 -0300, Stef Mientki stef.mien...@gmail.com escribió: Form the thread how to write a unicode string to a file ? and my specific situation: - reading data from Excel, Delphi and other Windows programs and unicode Python - using wxPython, which forces unicode -