Replies: 6   Views: 2363
Ueing replacevariablebyhtml coding problems
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 iiusky  · 04-09-2017 - 08:10

When using replaceVariableByHTML (), I passed parameters are Chinese, but replaceVariableByHTML part docx document output is garbled. I try to turn various utf-8 encoding, but still the output is garbled. Can you tell me what to do?

Posted by admin  · 04-09-2017 - 08:12


What version and license of phpdocx are you using?


Posted by iiusky  · 04-09-2017 - 08:28

free version

Posted by iiusky  · 04-09-2017 - 08:29

free version

Posted by iiusky  · 04-09-2017 - 08:31

free version

Posted by iiusky  · 04-09-2017 - 09:28

Thank you very much, I installed the extension tidy after, the perfect solution to this problem. Really very grateful!