pdfSetTextEncoding
Set the encoding to use for text output.
void pdfSetTextEncoding(const char *encodingName)
This function sets the encoding to use for text output.
The following encodings are predefined:
- "Latin1" - ISO-8859-1 (this is the default value)
- "ASCII7" - 7-bit ASCII
- "UTF-8" - Unicode in UTF-8 format
- "UCS-2" - Unicode in UCS-2 format
C:
pdfSetTextEncoding("UTF-8");