Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!
![]() |
BUG: Can't open filenames with ASCII>127 |
Post Reply ![]() |
Author | |
Didi ![]() Beginner ![]() Joined: 23 Mar 10 Status: Offline Points: 9 |
![]() ![]() ![]() ![]() ![]() Posted: 31 Mar 10 at 8:07AM |
It seems to me, QuickPDF can't open files with german Umlaut, like "zubehör.pdf".
Does anyone know about that topic?
|
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3529 |
![]() ![]() ![]() ![]() ![]() |
Hi Didi!
Yes... for me, too. I've never had such case 'cause really unusual using umlauts. You should post on the official support-pages ... not here 'cause here're only users. Cheers, Ingo Edited by Ingo - 31 Mar 10 at 11:00AM |
|
![]() |
|
JanN ![]() Senior Member ![]() Joined: 29 Oct 05 Location: Germany Status: Offline Points: 116 |
![]() ![]() ![]() ![]() ![]() |
Hi Didi!
In Delphi 7 I could get around this issue using: PDFLoadFromFile(0, Pchar( AnsiToUtf8(FileName) )); |
|
![]() |
|
Rowan ![]() Moderator Group ![]() ![]() Joined: 10 Jan 09 Status: Offline Points: 398 |
![]() ![]() ![]() ![]() ![]() |
Unicode file names are supported, but for the Delphi and DLL editions of the library you will need to encode using UTF-8. This isn't necessary for the ActiveX edition as COM\ActiveX already uses 16-bit strings...
|
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3529 |
![]() ![]() ![]() ![]() ![]() |
So i've learned something, too ;-)
Thanks Jan, thanks Rowan! |
|
![]() |
|
Didi ![]() Beginner ![]() Joined: 23 Mar 10 Status: Offline Points: 9 |
![]() ![]() ![]() ![]() ![]() |
But the problem isn't 8 or 16 Bit, it's 7 or 8 Bit. In non-english ,European languages characters in filenames like Ä,Ö,Ü and so on, are as usual as A,E,O.
That's ASCII, no Unicode.
|
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3529 |
![]() ![]() ![]() ![]() ![]() |
Hi Didi!
Unicode or (only) german umlauts... anyway... with the utf-convertion you'll get it to work if there are umlauts. I had the same problem. I've done it like this: // . . . function DoAnything(const FName: PChar): LongInt; stdcall; // . . . fexist := QP.LoadFromFile(FName); if ( fexist = 0 ) then begin fexist := QP.LoadFromFile(Pchar( AnsiToUtf8(FName) )); // . . . Cheers, Ingo |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store