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

2009-10-30 Thread Gabriel Genellina
En Fri, 30 Oct 2009 13:40:14 -0300, zooko escribió: On Oct 20, 9:50 pm, "Gabriel Genellina" 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 posts and web pages and blog entries de

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

2009-10-30 Thread zooko
On Oct 20, 9:50 pm, "Gabriel Genellina" 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 posts and web pages and blog entries decrying this practice over the last several years, but

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" 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: http://bugs.python.org/iss

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

2009-10-22 Thread Lele Gaifax
"Gabriel Genellina" writes: > En Thu, 22 Oct 2009 05:25:16 -0300, Lele Gaifax > escribió: >> Who is the culprit here? > > unittest, or ultimately, this bug: http://bugs.python.org/issue4947 Thank you. In particular I found http://bugs.python.org/issue4947#msg87637 as the best fit, I think that

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

2009-10-22 Thread Gabriel Genellina
En Thu, 22 Oct 2009 05:25:16 -0300, Lele Gaifax escribió: "Gabriel Genellina" writes: En Wed, 21 Oct 2009 06:24:55 -0300, Lele Gaifax escribió: "Gabriel Genellina" writes: nosetest should do nothing special. You should configure the environment so Python *knows* that your console under

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

2009-10-22 Thread Lele Gaifax
"Gabriel Genellina" writes: > En Wed, 21 Oct 2009 06:24:55 -0300, Lele Gaifax > escribió: > >> "Gabriel Genellina" writes: >> > nosetest should do nothing special. You should configure the environment > so Python *knows* that your console understands utf-8. Once Python is > aware of the *real*

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

2009-10-21 Thread Gabriel Genellina
En Wed, 21 Oct 2009 06:24:55 -0300, Lele Gaifax escribió: "Gabriel Genellina" 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/ Se

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

2009-10-21 Thread Lele Gaifax
"Gabriel Genellina" 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 python-dev: > http://c

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

2009-10-20 Thread Gabriel Genellina
En Tue, 20 Oct 2009 17:13:52 -0300, Stef Mientki 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 - writing to Excel and oth

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 - usin