Forum


Replies: 3   Views: 3693
Utf-8 issues with addtemplatevariable and replacetemplatevariablebyhtml
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 jorgelj  · 30-05-2013 - 09:23

Hello,



If your string is UTF8 you musn't encode it again to UTF8, because PHP fails and recode it showing wrong characters.



Please avoid encoding to UTF8 and enable this option:



encode_to_UTF8



in config/phpdocxconfig.ini file.



If you still have the issue paste the most simple script you can do with that error; or send both files to contact[.at.]phpdocx.com.



Regards.