is there any way to do it?
i search topic here and find a topic named " UTF-8 support" .
in this topic,@clayman said :
-----------------------------------------------------------------------------------------------------------------------------------------------------------
If you need UTF-8 support in libHaru, you can take
`hpdf_encoder_utf.c' from files section.
Include it in makefiles, add prototype
HPDF_EXPORT(HPDF_STATUS)
HPDF_UseUTFEncodings (HPDF_Doc pdf);
to `hpdf.h' and rebuild the library.
After that this code should work perfectly
HPDF_UseUTFEncodings(pdf);
HPDF_SetCurrentEncoder(pdf, "UTF-8");
...
My implementation support only 1- and 2-byte UTF-8 codes, it should be
enough in most cases.
-----------------------------------------------------------------------------------------------------------------------------------------------------------
can it work? because i can find HPDF_UseUTFEncodings in hpdf.h,but when link,the complie told can't find this function.