escaping £ signs

Prab Sohal <[email protected]>
Newsgroups gmane.comp.web.html-tidy.user
Message-ID <[email protected]>
Hi Guys,

I am trying to escape “£” signs using HTMLTidy. I am looking to use Tidy within a Windows service which processes text files.

My settings are as follows:

Tidy.Document doc = new Tidy.DocumentClass();

doc.SetOptValue(Tidy.TidyOptionId.TidyDoctype, "auto");

doc..SetOptValue(Tidy.TidyOptionId.TidyQuiet, "true");

doc.SetOptValue(Tidy.TidyOptionId.TidyAsciiChars, "true");

doc.SetOptValue(Tidy.TidyOptionId.TidyNumEntities, "true");

doc.SetOptValue(Tidy.TidyOptionId..TidyOutCharEncoding, "latin1"); doc.ParseString(content);

doc.CleanAndRepair();

Currently this is not escaping £ signs (and possibly other currency).

Thanks in advance for your assistance.

Prab Sohal

----------

Sent from Yahoo! Mail .

A Smarter Email.
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.