Re: Long way around UnicodeDecodeError, or 'ascii' codec can't decode byte

2007-03-31 Thread Paul Boddie
Oleg Parashchenko wrote: > On Mar 29, 4:53 pm, "Paul Boddie" <[EMAIL PROTECTED]> wrote: > > On 29 Mar, 06:26, "Oleg Parashchenko" <[EMAIL PROTECTED]> wrote: > > > > > > I'm working on an unicode-aware application. I like to use "print" to > > > debug programs, but in this case it was nightmare. T

Re: Long way around UnicodeDecodeError, or 'ascii' codec can't decode byte

2007-03-31 Thread Jarek Zgoda
Oleg Parashchenko napisaƂ(a): >>> I spent two hours fixing it, and I hope it's done. The solution is one >>> of the ugliest hack I ever written, but it solves the pain. The full >>> story and the code is in my blog: >>> http://uucode.com/blog/2007/03/23/shut-up-you-dummy-7-bit-python/ >> Calling s

Re: Long way around UnicodeDecodeError, or 'ascii' codec can't decode byte

2007-03-30 Thread Oleg Parashchenko
Hello, On Mar 29, 4:53 pm, "Paul Boddie" <[EMAIL PROTECTED]> wrote: > On 29 Mar, 06:26, "Oleg Parashchenko" <[EMAIL PROTECTED]> wrote: > > > Hello, > > > I'm working on an unicode-aware application. I like to use "print" to > > debug programs, but in this case it was nightmare. The most popular >

Re: Long way around UnicodeDecodeError, or 'ascii' codec can't decode byte

2007-03-29 Thread Paul Boddie
On 29 Mar, 06:26, "Oleg Parashchenko" <[EMAIL PROTECTED]> wrote: > Hello, > > I'm working on an unicode-aware application. I like to use "print" to > debug programs, but in this case it was nightmare. The most popular > result of "print" was: > > UnicodeDecodeError: 'ascii' codec can't decode byte

Long way around UnicodeDecodeError, or 'ascii' codec can't decode byte

2007-03-28 Thread Oleg Parashchenko
Hello, I'm working on an unicode-aware application. I like to use "print" to debug programs, but in this case it was nightmare. The most popular result of "print" was: UnicodeDecodeError: 'ascii' codec can't decode byte 0xXX in position 0: ordinal not in range(128) I spent two hours fixing it, a