-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chinese Messy Code #1305
Comments
I guess that's because the font used to create the PDF does not support UTF8. |
Hey man, did u solved this problem? |
Have you found a solution? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My document content is
![image](https://user-images.githubusercontent.com/6072950/37069813-06403588-21f0-11e8-96df-d0daecc39701.png)
when I use the following code:
$phpWord = \PhpOffice\PhpWord\IOFactory::load('test.docx'); $phpWord->save('test.pdf', 'PDF');
The pdf content is
![image](https://user-images.githubusercontent.com/6072950/37069942-823296e0-21f0-11e8-812d-b44227eff634.png)
It is Chinese Messy Code. How to solve it?
The text was updated successfully, but these errors were encountered: