pofider / phantom-html-to-pdf

Highly scalable html to pdf conversion using phantom workers
MIT License
159 stars 33 forks source link

Cant render chinese character #93

Closed tmoonlight closed 6 years ago

tmoonlight commented 6 years ago

is there anyway to encode my text?

bjrmatos commented 6 years ago

hi! i can not give you the exact reason for those characters not being able to render because i don't have enough details about your case but the most general problems is that html is not set to the utf-8 charset or probably the machine that you are using to render is missing some fonts necessary to support those characters.

some links about it that contain information and past problems similar to your case.

i'm closing the issue since this is not a bug with the library itself but most related to general phantomjs problem.

tmoonlight commented 6 years ago

thanks, that "missing some fonts" is the reason.