Re: ''.join() with encoded strings

2006-02-27 Thread Sandra-24
Sorry, this was my mistake, I had some unicode strings in the list without realizing it. I deleted the topic within 10 minutes, but apparently I wasn't fast enough. You're right join works the way it should, I just wasn't aware I had the unicode strings in there. -Sandra -- http://mail.python.or

Re: ''.join() with encoded strings

2006-02-27 Thread Fredrik Lundh
"Sandra-24" wrote: > I'd love to know why calling ''.join() on a list of encoded strings > automatically results in converting to the default encoding. First of > all, it's undocumented, so If I didn't have non-ascii characters in my > utf-8 data, I'd never have known until one day I did, and then

Re: ''.join() with encoded strings

2006-02-27 Thread Diez B. Roggisch
Sandra-24 wrote: > I'd love to know why calling ''.join() on a list of encoded strings > automatically results in converting to the default encoding. First of > all, it's undocumented, so If I didn't have non-ascii characters in my > utf-8 data, I'd never have known until one day I did, and then t

''.join() with encoded strings

2006-02-27 Thread Sandra-24
I'd love to know why calling ''.join() on a list of encoded strings automatically results in converting to the default encoding. First of all, it's undocumented, so If I didn't have non-ascii characters in my utf-8 data, I'd never have known until one day I did, and then the code would break. Secon