Quantcast
Channel: Ghostscript.NET
Viewing all articles
Browse latest Browse all 393

New Post: some PDFs cannot be converted

$
0
0
Hi,

I tried this pdf on both 32 bit and 64 bit Ghostscript.NET and it works. I have a feeling that this is due dacritics. Can you tell me does your 'PdfFilePath' contains any diacritics like 'ćšäö'?

If yes, can you try to encode your 'PdfFilePath' to UTF8 like this:
string PdfFilePath = @"e:\äbc.pdf"; 
PdfFilePath= System.Text.Encoding.Default.GetString(System.Text.Encoding.UTF8.GetBytes(PdfFilePath)); 
and then use it in
_rasterizer.Open(PdfFilePath, _lastInstalledVersion, true);
Cheers,
Josip

Viewing all articles
Browse latest Browse all 393

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>