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!
![]() |
AnsiStrings |
Post Reply
|
| Author | |
divo
Beginner
Joined: 18 Aug 09 Status: Offline Points: 3 |
Post Options
Thanks(0)
Quote Reply
Topic: AnsiStringsPosted: 18 Aug 09 at 11:58AM |
|
Hi,
I'm using quickpdf 7.15 with Delphi2009. In contrast to the documentation, every function want to have AnsiString instead of String parameters. That's ok as long as I don't do any fileio: quickpdf deletes every non ascii-char from filenames: SaveToFile('Käse.pdf') makes it write a file 'Kse.pdf'. What could be wrong here? thanks, Dirk |
|
![]() |
|
Ingo
Moderator Group
Joined: 29 Oct 05 Status: Offline Points: 3530 |
Post Options
Thanks(0)
Quote Reply
Posted: 18 Aug 09 at 12:42PM |
|
Hi Dirk!
My answer is a bit spongy ... ;-) This have to do with unicode. D9 uses it - QP not. I think the new beta 7.16 of QP will support it soon. Cheers, Ingo |
|
![]() |
|
Rowan
Moderator Group
Joined: 10 Jan 09 Status: Offline Points: 398 |
Post Options
Thanks(0)
Quote Reply
Posted: 18 Aug 09 at 12:58PM |
|
Hi Guys,
The latest version of Quick PDF Library supports Unicode for filenames and paths. This functionality was included in the most recent version (7.15). If you make use of the new unicode support then this problem shouldn't occur anymore. Cheers, - Rowan.
|
|
![]() |
|
divo
Beginner
Joined: 18 Aug 09 Status: Offline Points: 3 |
Post Options
Thanks(0)
Quote Reply
Posted: 18 Aug 09 at 1:51PM |
|
Hurra, it works!
Quickpdf supports unicode filnames means it supports utf-8 encoded filenames. All I had to do was to replace the cast "AnsiString(filename)" with "UTF8Encode(filename)". Thanks for your answers :) |
|
![]() |
|
Michel_K17
Newbie
www.exp-systems.com Joined: 25 Jan 03 Status: Offline Points: 297 |
Post Options
Thanks(0)
Quote Reply
Posted: 19 Aug 09 at 6:37AM |
|
Hi Divo,
Just be aware that the Merge function has a bug. It will not merge pdf files with unicode characters in the path leading to the filename. However, Debenu is aware, and fixed it for the next version (7.16). Cheers! |
|
|
Michel
|
|
![]() |
|
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