php - How to support UTF-8 in TCPDF?Get the solution ↓↓↓
I think you are using the wrong font. I had the same problem and then I change the font from 'helvetica' to 'dejavusans' and it started working.
I tested your code, since I had problems printing Japanese characters, and the result was the same on my website too.
The problem is the font.
I was already using the
dejavu font, which is great for latin and other characters, but it doesn't contain CJK characters. For printing such characters you need a specific CJK font, or one of the few pan-Unicode font available.
Some examples are:
Arial Unicode MS,
Unfortunately, they are not free, and require a license.
Share solution ↓
Link To Answer People are also looking for solutions of the problem: too few arguments to function laravel
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.