RE: Tidy uses undf. entities with -xml

Bjoern Hoehrmann wrote:
> 
> If I've got a XML document that includes e.g. an   UTF-8 encoded,
> and i tidy it up with -xml I get the HTML entity   instead of the
> korrekt UTF-8 sequence. The XML document isn't wellformed any longer and
> therefore unusable. Using the -utf8 command line argument doesn't change
> this behaivour.

Try -asxml.  The -xml option actually tells Tidy that the *input* is XML
while -asxml tells Tidy to *output* XML.

- Randy

Received on Sunday, 14 January 2001 18:03:56 UTC