Free Support Forum - aspose.com

Unexpected character Exception in PdfEtractor.ExtractText()

Hi,

PDF document causing this is in attachment. The document was produced using Aspose.Pdf.

Here is the test code:

PdfExtractor e = new PdfExtractor();
e.BindPdf(@“C:\Temp\PdfKitTest.pdf”);
e.ExtractText();


Here is the exception:

Unexpected character
at ?.?.?()
at ?.?.?(Stream ?)
at ?.?.?(Stream ?, String ?, Int32 ?, Int32 ?)
at Aspose.Pdf.Kit.PdfExtractor.ExtractText()

Robik

Thanks for considering Aspose.

It's really strange. We may need several days to figure out reasons.

Dear robik,



Thank you for considering Aspose.



I have tested the pdf file you attached and found that’s a bug. We will solved it and reply you ASAP.