Forum


Replies: 9   Views: 4700
Html and utf-8 on phpdocx 3.7
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by handoi912  · 16-01-2014 - 09:38






Hi,



I download PRO trial version 3.7, and  I have 1 HTML snippet containing french. But when I addHTML to create file docx, the font error.



HTML:



$docx = new CreateDocx();

$docx->setEncodeUTF8();



$html= '<p> Découverte des plus beaux Temples d’Angkor: <strong>

          <span style="font-size:33px;">My name</span></strong></p>';



ERROR:



           Découverte des plus beaux Temples d’Angkor: My name



How to fix it?