Hi, I’ve come across an issue when converting Word documents to xhtml.
System.ArgumentException The surrogate pair is invalid. Missing a low surrogate character. at System.Xml.XmlTextEncoder.WriteRawWithSurrogateChecking(String text)
at System.Xml.XmlTextWriter.WriteRaw(String data)
at ?. ? ( ? )
at ?.?? ( ? )
at ?.?? ( ? )
at ?.?? ( ? )
at ?.?? ( ? )
at ?.?? ( ? )
at ?.?? ( ? )
at ?.?? ( ? )
at ??.?? ( ? )
at ?.?? ( ? )
at ?.?? ( ? )
at .( ? , ? )
at . ( ? )
at ? . ? ( ? )
at Aspose.Words.Document.( ? )
at Aspose.Words.Document.(Stream , String , SaveOptions )
Here’s a minimal reproduction document:
Invalid surrogate pair.docx (100.9 KB)
Let me know if you require more details.
Thanks in advance.