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

Preserving control characters (HTML->XHTML)

From: Jason Millard <jsm174@gmail.com>
Date: Wed, 17 Oct 2007 00:11:38 -0400
Message-ID: <354f357b0710162111h5c331cd2tbc67a8f9f5164f10@mail.gmail.com>
To: html-tidy@w3.org
Hello,

I am using TidyLib to convert HTML to XHTML.

The original HTML contains control-H (0x08) characters. These characters are
used for auth purposes.

I have TidyLib configured as:

tidyOptSetBool(tdoc, TidyXhtmlOut, yes);
tidyOptSetBool(tdoc, TidyForceOutput, yes);
tidyOptSetValue(tdoc, TidyCharEncoding, "raw");

When the HTML is converted, the control-H characters are lost. Is there any
option I can use to preserve
these characters? Maybe even something that would set them to &#08;

Thanks,
-- Jason
Received on Wednesday, 17 October 2007 13:14:07 GMT

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