[Gambas-user] Invalid utf string in pdf example
Benoît Minisini
gambas at ...1...
Sun Feb 7 15:26:19 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?
--
Benoît Minisini
More information about the User
mailing list