PDF UTF-8 problem

seyedd wrote on Monday, April 27, 2015:

Hi all

Greetings from UAE. I was wondering if there is a solution to scrambled characters when getting pdf.
The HTML works fine since I assume it supports UTF but the pdf does not. I found that html2pdf uses ISO instead of UTF-8. So I changed that to UTF-8 in both html2pdf.class.php and parsingHTML.class.php but my problem is not resolved. I also tried to set a font that supports UTF-8 but the folder doesn’t have that font. There is a makefont folder but I can’t figure it out.

Any help is appreciated.

fsgl wrote on Monday, April 27, 2015:

A section on makefont here.

bradymiller wrote on Tuesday, April 28, 2015:

Hi,

See bottom of this wiki page:
http://www.open-emr.org/wiki/index.php/Html2pdf

Need a developer to take on that project (either go for it yourself(happy to provide guidance), find a volunteer (which is unlikely), or sponsor a pro).

This would be a vital improvement for internationalization front.

-brady
OpenEMR