Re: Eurosymbol in xml document

2008-03-04 Thread Hellmut Weber
Hi, thanks to all of you who have sent me helpful information. I'm diving into the secrets of unicode. It seems the crucial point was, that seemingly during the installation of the programming environment eric the file *** /usr/lib/python2.4/site-packages/sitecustomize.py *** has been modified.

Re: Eurosymbol in xml document

2008-03-04 Thread Richard Brodie
"Robert Bossy" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > If the file is declared as latin-1 and contains an euro symbol, then the file > is > actually invalid since euro is not defined of in iso-8859-1. Paradoxical would be a better description than invalid, if it contains

Re: Eurosymbol in xml document

2008-03-04 Thread Diez B. Roggisch
> If the file is declared as latin-1 and contains an euro symbol, then the > file is actually invalid since euro is not defined of in iso-8859-1. If > there is no encoding declaration, as Diez already said, the file should > be encoded as utf-8. > You are right of course - latin1 doesn't contain

Re: Eurosymbol in xml document

2008-03-04 Thread Robert Bossy
Diez B. Roggisch wrote: > Hellmut Weber wrote: > > >> Hi, >> i'm new here in this list. >> >> i'm developing a little program using an xml document. So far it's easy >> going, but when parsing an xml document which contains the EURO symbol >> ('€') then I get an error: >> >> UnicodeEncodeError:

Re: Eurosymbol in xml document

2008-03-04 Thread Stephan Diehl
Hallo Helmut, > Hi, > i'm new here in this list. > > i'm developing a little program using an xml document. So far it's easy > going, but when parsing an xml document which contains the EURO symbol > ('€') then I get an error: > > UnicodeEncodeError: 'charmap' codec can't encode character u'\xa4

Re: Eurosymbol in xml document

2008-03-04 Thread Diez B. Roggisch
Hellmut Weber wrote: > Hi, > i'm new here in this list. > > i'm developing a little program using an xml document. So far it's easy > going, but when parsing an xml document which contains the EURO symbol > ('€') then I get an error: > > UnicodeEncodeError: 'charmap' codec can't encode character

Eurosymbol in xml document

2008-03-04 Thread Hellmut Weber
Hi, i'm new here in this list. i'm developing a little program using an xml document. So far it's easy going, but when parsing an xml document which contains the EURO symbol ('€') then I get an error: UnicodeEncodeError: 'charmap' codec can't encode character u'\xa4' in position 11834: charact