Re: Python/environment problem with char encoding/decoding

2009-02-18 Thread Gabriel Rossetti
Peter Otten wrote: Gabriel Rossetti wrote: Hello everyone, I originally posted this on the Twisted mailing list, but now it seams to be a more general python/environment problem. If I run the attached example in Eclipse, it works, if I run it from a terminal, it doesn't, I get : $ python

Re: Python/environment problem with char encoding/decoding

2009-02-18 Thread Peter Otten
Gabriel Rossetti wrote: > Hello everyone, > > I originally posted this on the Twisted mailing list, but now it seams > to be a more general python/environment problem. If I run the attached > example in Eclipse, it works, if I run it from a terminal, it doesn't, I > get : > > $ python xml_parse

Re: Python/environment problem with char encoding/decoding

2009-02-18 Thread Benjamin Kaplan
On Wed, Feb 18, 2009 at 8:43 AM, Gabriel Rossetti < gabriel.rosse...@arimaz.com> wrote: > Hello everyone, > > I originally posted this on the Twisted mailing list, but now it seams to > be a more general python/environment problem. If I run the attached example > in Eclipse, it works, if I run it

Python/environment problem with char encoding/decoding

2009-02-18 Thread Gabriel Rossetti
Hello everyone, I originally posted this on the Twisted mailing list, but now it seams to be a more general python/environment problem. If I run the attached example in Eclipse, it works, if I run it from a terminal, it doesn't, I get : $ python xml_parser_test.py Traceback (most recent cal