Two Pilots™    Home  |  Navigation  |  Site Map  |  Products  |  Download  |  Prices  |  For Partners  |  Support


All forums · Statistics · Search ·

Two Pilots forum / For software developers / Japanese character in generated pdf
Author Message
Sebastien
Member
# Posted: 4 Nov 2008 12:06 · Edited by: Sebastien


Hello,

I have the following piece of code

Set PDF = CreateObject("PDFCreatorPilot.PDFDocument4")
PDF.SetLicenseData "demo@demo", "demo"
font = PDF.AddFont("MS Gothic", false, false, false, false, 128)
PDF.UseFont font, 15
PDF.ShowUnicodeTextAt 400, 60, "" & oRsPdf("supname")

I'm using shift_jis charset and if I make a response.write of the oRsPdf("supname"), i can see japanese characters but in the pdf i have ???????

I tried many things without success, any ideas?

Thanks for you support

Vitaliy Shibaev
Member
# Posted: 6 Nov 2008 04:04


Hi Sebastien,

Sorry for the delay with the answer.

Please answer on two questions:
What is "oRsPdf"?
What string in unicode do you expect?

Best regards,
Vitaliy Shibaev
Two Pilots

 

 

Powered by miniBB 2.0 RC7 © 2001-2004 Page creation time (sec.): 0.013

 

Page top