PDFsharp & MigraDoc Foundation
http://forum.pdfsharp.com/

Error opening a PDF file
http://forum.pdfsharp.com/viewtopic.php?f=3&t=4723
Page 1 of 1

Author:  hsikkandar [ Thu Nov 14, 2024 5:46 am ]
Post subject:  Error opening a PDF file

Hi Team,
When i open a PDF file i am getting the below error.

Failed to open the PDF file: Found UTF-16LE string. Please send us the PDF file and we will fix it (issues (at) pdfsharp.net).

Any pointers would be great help.

Thanks
Hyder

Author:  hsikkandar [ Thu Nov 14, 2024 6:39 am ]
Post subject:  Re: Error opening a PDF file

Upon further analysis PDF conformance dont support UTF16-LE and the same implemented in PDFSharp. Howentver PDFSharp handled this but it is in commented code. Is it OK to enable that to handle this type of files

Author:  TH-Soft [ Thu Nov 14, 2024 7:18 am ]
Post subject:  Re: Error opening a PDF file

hsikkandar wrote:
Any pointers would be great help.
OK, how about this pointer: "Please send us the PDF file and we will fix it (issues (at) pdfsharp.net)."

Author:  hsikkandar [ Thu Nov 14, 2024 7:42 am ]
Post subject:  Re: Error opening a PDF file

Hi Thomas,
Thanks for your reply. i have enabled the code in commented block and now the PDFSharp able to open the file. i have also sent the file to issues (at) pdfsharp.net.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/