Print Page | Close Window

SignPDF

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=2085
Printed Date: 10 Jan 26 at 7:49AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: SignPDF
Posted By: Kenny608
Subject: SignPDF
Date Posted: 29 Dec 11 at 11:56AM

Hello,

I have problem with signing PDF file.

My VB6 code is:

Result = QP.SignFile(FileName, "", "Signature",  FileName1, App.Path & "\mykey.pfx", "zabudol", "Žilina", "Zamestnavateľ", "")

Problem is in pdf file where some characters are wrong. See picture below.

Hope someone can help me out.
Thanks a lot in advance.


Kenny







Replies:
Posted By: Ingo
Date Posted: 29 Dec 11 at 6:33PM
Hi Kenny!

I THINK it has to do with how the text is internally saved
(codepages.../unicode...)...
So it depends on which version of QuickPDF you're using.
Up to 7.26 internal strings were saved/encoded as utf8...
The versions 8.xx use utf16.

So i THINK you have to work with utf8encode/-decode or
something similar available in vb.

Cheers and welcome here,
Ingo
 



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk