UnicodeDecodeError help please?

2006-04-07 Thread Robin Haswell
Okay I'm getting really frustrated with Python's Unicode handling, I'm trying everything I can think of an I can't escape Unicode(En|De)codeError no matter what I try. Could someone explain to me what I'm doing wrong here, so I can hope to throw light on the myriad of similar problems I'm having?

Re: UnicodeDecodeError help please?

2006-04-07 Thread Robert Kern
Robin Haswell wrote: Okay I'm getting really frustrated with Python's Unicode handling, I'm trying everything I can think of an I can't escape Unicode(En|De)codeError no matter what I try. Have you read any of the documentation about Python's Unicode support? E.g.,

Re: UnicodeDecodeError help please?

2006-04-07 Thread Fredrik Lundh
Robin Haswell wrote: Could someone explain to me what I'm doing wrong here, so I can hope to throw light on the myriad of similar problems I'm having? Thanks :-) Python 2.4.1 (#2, May 6 2005, 11:22:24) [GCC 3.3.6 (Debian 1:3.3.6-2)] on linux2 Type help, copyright, credits or license for

Re: UnicodeDecodeError help please?

2006-04-07 Thread Paul Boddie
Robin Haswell wrote: Okay I'm getting really frustrated with Python's Unicode handling, I'm trying everything I can think of an I can't escape Unicode(En|De)codeError no matter what I try. If you follow a few relatively simple rules, the days of Unicode errors will be over. Let's take a look!

Re: UnicodeDecodeError help please?

2006-04-07 Thread Ben C
On 2006-04-07, Robin Haswell [EMAIL PROTECTED] wrote: Okay I'm getting really frustrated with Python's Unicode handling, I'm trying everything I can think of an I can't escape Unicode(En|De)codeError no matter what I try. Could someone explain to me what I'm doing wrong here, so I can hope to