textEncoding

Set the encoding to use for text output.
[read/write property] textEncoding([out, retval] BSTR *encodingName) textEncoding([in] BSTR encodingName)
This property sets the encoding to use for text output.

The following encodings are predefined:

This setting is global, i.e., it affects all Xpdf objects (in the same process).
VB:
pdf.textEncoding = "UTF-8"