W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2002

declaring char-encoding in ouput xml

From: Jere Rytkönen <jere.rytkonen@helsinki.fi>
Date: Tue, 5 Feb 2002 12:22:29 +0200
To: <html-tidy@w3.org>
Message-ID: <NFBBIBLELKBIIKBJNOAFEEAOCBAA.jere.rytkonen@helsinki.fi>

Hello, I have a small question / request conserning HTML Tidy.

When outputting XML with Tidy, is it possible to have character encoding
declared in the XML-declaration of the output file? If it's not possible
with the current version, could you consider adding this feature to later
versions of Tidy?

Example: using options
  output-xml: yes
  output-encoding: latin1
  add-xml-decl: yes

would produce the following xml-declaration in the ouput file:
  <?xml version="1.0" encoding="iso-8859-1"?>


Jere Rytkönen

Jere Rytkönen, project secretary
Univ. of Helsinki, Fac. of Social Sciences
Received on Tuesday, 5 February 2002 05:22:31 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:51 UTC