W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2005

Re: add-xml-decl: no failing?

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Fri, 14 Oct 2005 21:03:14 +0200
To: brian_hulse@excite.com
Cc: html-tidy@w3.org
Message-ID: <5qvvk1tf438p8thh7ui55lm5soku40grmc@hive.bjoern.hoehrmann.de>

* Brian Hulse wrote:
>I recently upgraded from the 08 Aug 2002 version of tidy to the 12 Apr
>2005 and now my documents have an xml declaration added to them. 

Well, you set the output encoding to latin1, XHTML documents must have a
XML declaration unless they are UTF-8 (or US-ASCII) encoded. If you use
output-encoding ascii you should get the desired output.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Friday, 14 October 2005 19:03:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:55 GMT