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!
Doc Property titles with double byte characters |
Post Reply |
Author | |
pmasalsk
Beginner Joined: 18 Apr 19 Location: United States Status: Offline Points: 3 |
Post Options
Thanks(0)
Posted: 18 Apr 19 at 4:28PM |
Hi, I'm using Foxit Quick PDF Library (Windows) to grab doc titles from PDF Doc Properties. The following VBS code works great for any title that contains single byte characters:
Call DPL.LoadFromFile(pdfFull, "") DocID = DPL.SelectedDocument() pdfTitle = DPL.GetInformation(2) pdfTitle = Trim(pdfTitle) However when I try to grab titles containing double byte characters, the call to DPL.LoadFromFile bombs every time (and program execution stops). So I can get a title like this: ESM 9.6.0 Release Notes But not one like this: Data Loss Prevention Endpoint for Mac 9.3.5 发行说明 Any idea what I'm doing incorrectly? Many thanks in advance for any help you can give. Paul M.
|
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Hi Paul,
the string handling in QuickPDF is made via unicode. Due to this if you want to get a string out of QuickPDF put it into a variable defined as unicode. Due to this if you want to set a string into QuickPDF use a variable defined as unicode. You didn't find the online ressources? Here's the starting point: http://www.quickpdf.org/ Cheers and welcome here, Ingo |
|
Cheers,
Ingo |
|
pmasalsk
Beginner Joined: 18 Apr 19 Location: United States Status: Offline Points: 3 |
Post Options
Thanks(0)
|
This worked out great. Thank you!!
Paul M.
|
|
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