Tidy and Windows Script Encoding

Unless I've missed something, Tidy appears to be incompatible with HTML pages that use Windows Script Encoding [<http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/SeconScriptEncoderOverview.asp>].  This is because the encoded scripts contain tab characters -- which Tidy automatically converts into spaces.  This conversion corrupts the encoded script, which then fails to run under IE.

I searched for an option to turn off the tab-to-space conversion, but found none.  In fact, I found an assurance that my search was futile:  The documentation states categorically:  "Tidy never outputs tabs" [<http://tidy.sourceforge.net/docs/quickref.html#tab-size>].

Is there any way around this problem?  If not, perhaps an option can be added to avoid it (i.e., an option to turn off tab-to-space conversion, at least in scripts)?

Thanks,

Moshe

*********************************************************************************
Finjan Software

This e-mail and any attached files are confidential and may be legally
privileged. The unauthorized use, disclosure or copying of this email or
any information contained within it is strictly prohibited. This also
confirms that Finjan Software's Vital Security for E-Mail has scanned this
message for the presence of known viruses and potentially malicious
code.

Finjan Software - Prevention is the Best Cure!
*************************************************************************************

Received on Sunday, 19 September 2004 11:39:20 UTC