Preserving control characters (HTML->XHTML)

"Jason Millard" <[email protected]>
Newsgroups gmane.comp.web.html-tidy.user
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.