Replies: 4   Views: 4355
Problem with utf-8 encoded text when using embedhtml
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 vecano  · 05-12-2013 - 00:44

Cretain characters outside the ASCII set are incorrectly set on docx file when using embedHTML() using a utf-8 encoded HTML source.

I've also tried using setEncodeUTF8 without success.

What do I need to do to create a docx file that has correct encoding when using embedHTML and the text is utf-8 encoded?