#1 latin characters like accents in a pdf

open
nobody
None
5
2006-06-23
2006-06-23
Anonymous
No

Hello:
Im needd write a latin characters in a pdf, but the
resulting pdf show another characters.

The code sample is:

import piddlePDF
import piddle
reporte = piddlePDF.PDFCanvas ( )
usuario="Ramírez"
reporte.drawString ( "Usuario: " + usuario, 6030
piddle.Font ( face = "times", bold
= 1,size = 10 ) )

reporte.save ( file = "prueba.pdf" )

The resulting pdf show: Usuario: Ram\xedrez

Thanks,

Pablo Ramírez

Discussion


Log in to post a comment.