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 - Metadata
  FAQ FAQ  Forum Search   Register Register  Login Login

Metadata

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


Joined: 11 Apr 12
Location: The Netherlands
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote modderkolk Quote  Post ReplyReply Direct Link To This Post Topic: Metadata
    Posted: 24 Jan 14 at 8:49AM
Hi,

I am using Delphi 2010 and QuickPdfLibrary 9.13.

I use SetDocumentMetadata to put some xmp metadata in a Pdf file and that works fine except of some characters. They are changed into '?' when I open the Pdf after it.

I see that I need to give a WideString as parameter. And when I show that string on screen all characters are Ok. When I save it using a stream and Utf-8 it is also ok. When I save it in a textfile, I see also wrong characters.

What can I do to get the right characters in the metadata of the Pdf file?

Thanks,
Evert-Jan
Back to Top
modderkolk View Drop Down
Beginner
Beginner


Joined: 11 Apr 12
Location: The Netherlands
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote modderkolk Quote  Post ReplyReply Direct Link To This Post Posted: 24 Jan 14 at 1:30PM
Hi, 

I allready found the problem.
See:
http://stackoverflow.com/questions/2697843/storing-utf8-string-in-a-unicodestring

I works well now.


Thanks,
Evert-Jan Modderkolk
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