declaring char-encoding in ouput xml

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 UTC