Lonely low surrogate code points using TextExtractor
General-Purpose PDF Library for Java and .NET
Status: Beta
Brought to you by:
stechio
Dear mr. Stefano Chizzolini.
I have found that if I insert an equation into a Word document, save it as PDF and then extract the text using TextExtractor in C#, there will be several occurances of lonely/unmatched low surrogate unicode code points in the resulting text. This gives me problems when trying to save the text in XML documents for instance.
I am not too worried about the formula itself being reproduced in a textlike format. I just don't want the invalid surrogate characters. For now I have to clean it up in a work-around.
Please find attached sample document.
Thank you for all your efforts. I belive that the PDF format may me slightly more complex than rocket science. ;-)