[Gambas-user] Invalid utf string in pdf example

Benoît Minisini gambas at ...1...
Mon Feb 8 01:57:52 CET 2010


> > I wondered how to this this, as I'm in the process of using this sample
> > to do some work in my program.
> >
> > thanks in anticipation.
> >
> > regards
> >
> > Richard
> 
> What are the contents of txtFind.Text?
> 
> The PdfDocument.Find() method does the following internally:
> 
> 	Conv$(txtFind.Text, "UTF-8", "UCS-4LE")
> 
> Because the poppler library want Unicode string. What happens if you do the
> same conversion by hand in Gambas?
> 

The bug should be fixed in revision #2672. Moreover, now the PdfDocument class 
now returns all dimensions as Float for more precision.

Regards,

-- 
Benoît Minisini




More information about the User mailing list