[XML-SIG] Troubles with latin 1 characters
Fredrik Lundh
fredrik@pythonware.com
Wed, 29 Sep 1999 11:03:37 +0200
> I have troubles parsing some (not all) lat1 characters. For example,
> processing é works fine, ö gives troubles: it doesn't show up in my
> output (it even looks like the ö is parsed as an end-of-line). What
> is going wrong here?
XML's default character set is UTF-8, not
ISO Latin 1. Try adding:
<?xml version='1.0' encoding='iso-8859-1'?>
to the beginning of your document.
(it looks like the parser you're using is
broken, though -- a good parser should
choke on illegal UTF-8 sequences...)
</F>