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"?>

Thanks,

Jere Rytkönen
___________________________________________

Jere Rytkönen, project secretary
Univ. of Helsinki, Fac. of Social Sciences
jere.rytkonen@helsinki.fi
http://www.valt.helsinki.fi/staff/jjrytkon/
___________________________________________
Received on Tuesday, 5 February 2002 05:22:31 GMT

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