writing Unicode objects to XML

Martin v. Löwis martin at v.loewis.de
Tue May 6 14:08:31 EDT 2003


Alessio Pace <puccio_13 at yahoo.it> writes:

> Well, I use VIM, and maybe that's the issue. 

With VIM, there is a chance to get it displayed correctly. Try setting
fileencoding and encoding to UTF-8 before opening the file.

> Well, I read the discussion above about XML, I still can't understand why my
> XML document does *not* get parsed correctly if instead of characters
> references I write UTF-8 byte sequences (I get them double escaped as I
> said previously in the thread).

Is this still a problem? If so, can you provide an example?

Regards,
Martin




More information about the Python-list mailing list