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 - Doc Property titles with double byte characters
  FAQ FAQ  Forum Search   Register Register  Login Login

Doc Property titles with double byte characters

 Post Reply Post Reply
Author
Message
pmasalsk View Drop Down
Beginner
Beginner
Avatar

Joined: 18 Apr 19
Location: United States
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote pmasalsk Quote  Post ReplyReply Direct Link To This Post Topic: Doc Property titles with double byte characters
    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.
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3524
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 18 Apr 19 at 8:59PM
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

Back to Top
pmasalsk View Drop Down
Beginner
Beginner
Avatar

Joined: 18 Apr 19
Location: United States
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote pmasalsk Quote  Post ReplyReply Direct Link To This Post Posted: 19 Apr 19 at 5:08PM
This worked out great. Thank you!!
Paul M.
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