Closed marknguyen85 closed 5 years ago
The error is an error that has occurred in prawn.
The error occurs when you give a text-box that is set to a Latin-font such as Helvetica a character that can not be converted to Windows-1252 encoding.
Try using IPAGothic
or IPAMincho
to the text-box instead.
My issue have been resolved with embed unicode font.
when use vietnamese error đẹp ->
how to fix it (i already use IPAGothic
or IPAGothic
is don't work show image above)
I want to write unicode text to file an generate to pdf but i've got error.
Your document includes text that's not compatible with the Windows-1252 character set. If you need full UTF-8 support, use TTF fonts instead of PDF's built-in fonts.
PLz help me. thanks for the support.