When I generate a PDF with text containing characters such as é è à and so on I do get funny characters instead.
I know this must be related to encoding.
I did try force_encoding("UTF-8") on the string with those characters with no success.
joel
Add <meta charset="UTF-8">
to the top of your HTML view or in the head of your layout.
You can pass as option:
encoding: 'utf8'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With