Thanks. I have been studying the Hello World sample a lot, and when I try to put it into my own code, I get funny characters. I change to Times font, same thing.
code:
Dim MyDocument, MyCover
Set MyDocument = Server.CreateObject("DynamicPDF.Document")
MyDocument.DefaultMarginLeft = 45
MyDocument.DefaultMarginRight = 45
MyDocument.DefaultMarginTop = 35
MyDocument.DefaultMarginBottom = 10
Set MyCover = MyDocument.AddPage()
Dim MyLanLabel
Set MyLanLabel = MyCover.AddLabel("Lista de Disposición de Valores", 10, 350, 500, 50)
MyLanLabel.Font = DPDF_Font_Helvetica
MyLanLabel.FontSize = 12
MyLanLabel.Align = DPDF_Align_Left
In the results, the "o'" in "Disposición" turns into "ó" so I get "Disposición" (in case the formatting gets lost, that is an "o'" turns into "A3")
Not sure what to do. The code above is from your example. Is there a way to turn on utf-8 in DynamicPDF and specify Spanish like I do in html, such as
<meta charset="utf-8">
<html lang="es" xml:lang="es">
I have experimented with myDocument.Language = "es" but that doesn't change anything either.
Do I need a special font that has the extended Spanish alphabet? If so, do you know of one, OR do you have any Spanish clients who are using DynamicPDF that I can correspond with?
Thanks for your help!
--Jim