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!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - AnsiStrings
  FAQ FAQ  Forum Search   Register Register  Login Login

AnsiStrings

 Post Reply Post Reply
Author
Message
divo View Drop Down
Beginner
Beginner


Joined: 18 Aug 09
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote divo Quote  Post ReplyReply Direct Link To This Post Topic: AnsiStrings
    Posted: 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

Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3530
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
Rowan View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 10 Jan 09
Status: Offline
Points: 398
Post Options Post Options   Thanks (0) Thanks(0)   Quote Rowan Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
divo View Drop Down
Beginner
Beginner


Joined: 18 Aug 09
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote divo Quote  Post ReplyReply Direct Link To This Post 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 :)
Back to Top
Michel_K17 View Drop Down
Newbie
Newbie
Avatar
www.exp-systems.com

Joined: 25 Jan 03
Status: Offline
Points: 297
Post Options Post Options   Thanks (0) Thanks(0)   Quote Michel_K17 Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store