Hi, I'm having problems with using the wrapper and UTF-8 strings. For example "é" would be replaced by �
I was just wondering if I'm doing anything fundamentally wrong? I've tried setting Input and Output character encoding values as well. Any help would be appreciated. Example code below.
Many thanks
using (TidyManaged.Document doc = TidyManaged.Document.FromString(myInput))
{
doc.OutputXhtml = true;
doc.CharacterEncoding = TidyManaged.EncodingType.Utf8;
doc.CleanAndRepair();
myOutput = doc.Save();
}
Hi, I'm having problems with using the wrapper and UTF-8 strings. For example "é" would be replaced by �
I was just wondering if I'm doing anything fundamentally wrong? I've tried setting Input and Output character encoding values as well. Any help would be appreciated. Example code below.
Many thanks
using (TidyManaged.Document doc = TidyManaged.Document.FromString(myInput))
{
doc.OutputXhtml = true;
doc.CharacterEncoding = TidyManaged.EncodingType.Utf8;
doc.CleanAndRepair();
myOutput = doc.Save();
}