Forum


Replies: 9   Views: 4525
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  · 20-01-2014 - 10:00

[quote=jorgelj]



Please post the output of the check.php file.



[/quote]



Hello,



I don't understand, I using on Localhost ( wamp server 2.4) and i don't active tidy in PHP extensions, my file is UTF-8, I sure.



My code:



require_once 'phpdocx/classes/CreateDocx.inc';

$docx = new CreateDocx();

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

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

$docx->addHTML(array('html' => $html));

$docx->createDocx('output/hello_world');