PDF document causing this is in the attachment. The document was produced using Aspose.Words & Aspose.Pdf.
I’m using .NET Framework 2.0 and Pdf.Kit 126.96.36.199.
Here is the test code:
PdfExtractor e = new PdfExtractor();
Here is the exception:
System.ArgumentException: The output char buffer is too small to contain the decoded characters, encoding ‘Unicode (UTF-8)’ fallback ‘System.Text.DecoderReplacementFallback’.
Parameter name: chars
at System.Text.Encoding.ThrowCharsOverflow(DecoderNLS decoder, Boolean nothingDecoded)
at System.Text.UTF8Encoding.GetChars(Byte* bytes, Int32 byteCount, Char* chars, Int32 charCount, DecoderNLS baseDecoder)
at System.Text.DecoderNLS.GetChars(Byte* bytes, Int32 byteCount, Char* chars, Int32 charCount, Boolean flush)
at System.Text.DecoderNLS.GetChars(Byte bytes, Int32 byteIndex, Int32 byteCount, Char chars, Int32 charIndex, Boolean flush)
at System.Text.DecoderNLS.GetChars(Byte bytes, Int32 byteIndex, Int32 byteCount, Char chars, Int32 charIndex)
at ?.?.?(Stream ?, String ?, Int32 ?, Int32 ?)
Please try to resolve it ASAP, because we have this error ocurring in production (never seen this error before with other pdf-files).
BTW your forum does not accept the PDF extension when trying to upload an attachment.
Thanks for considering Aspose.
You can compress the PDF as a rar extension with WinRar when uploading an attachment or directly mail to firstname.lastname@example.org
We will check it out and give you an answer ASAP.
i actually attached the zip-compressed pdf here, but somehow it it was lost when i later editet the message. anyway here it is again.
The problem you have is reproduced on my machine. We need time to find out bugs which bring out this error. Our developers will give you an answer ASAP.
Thanks for your patience.
Dear Customer,<br>We have fixed this bug, a hotfix will be release soon.
the problem seems to be fixed in the hotfix dll.