PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Fri Dec 06, 2024 3:42 am

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Error opening a PDF file
PostPosted: Thu Nov 14, 2024 5:46 am 
Offline

Joined: Fri Aug 09, 2024 5:06 am
Posts: 16
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


Top
 Profile  
Reply with quote  
PostPosted: Thu Nov 14, 2024 6:39 am 
Offline

Joined: Fri Aug 09, 2024 5:06 am
Posts: 16
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


Last edited by hsikkandar on Thu Nov 14, 2024 7:38 am, edited 1 time in total.

Top
 Profile  
Reply with quote  
PostPosted: Thu Nov 14, 2024 7:18 am 
Offline
PDFsharp Guru
User avatar

Joined: Sat Mar 14, 2015 10:15 am
Posts: 1019
Location: CCAA
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)."

_________________
Best regards
Thomas
(Freelance Software Developer with several years of MigraDoc/PDFsharp experience)


Top
 Profile  
Reply with quote  
PostPosted: Thu Nov 14, 2024 7:42 am 
Offline

Joined: Fri Aug 09, 2024 5:06 am
Posts: 16
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.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group