Forum


Replies: 1   Views: 2739
Replacevariablebyhtml chinese garbled
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 rocky9988  · 03-12-2018 - 13:48

$tmp->replaceVariableByHTML('vul_content_desc', 'inline', '<p style="font-family: verdana; font-size: 11px">C/ 中国 Matías Turrión 24, Madrid 28043 <b>Spain</b></p>', array('isFile' => false, 'parseDivsAsPs' => true, 'downloadImages' => false));

Is there any problem with PHP configuration? It's been scrambling in Chinese all the time,

 

Mac os used

Mac os used