Forum


Replies: 1   Views: 16
Replacevariablebyhtml chinese garbled

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

Posted by admin  · 04-12-2018 - 07:10

Hello,

All characters and languages are fully tested and working. If you don't display them correctly:

1. You don't have installed or enabled Tidy or mbstring PHP extensions.

2. You are not using UTF8 charset.

We have verified the trial package is working correctly. If you purchase a package and still have the same issue, please write to contact[at]phpdocx.com and the support team will help you.

Regards.