Replies: 7   Views: 3481
Escape required?
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 nachtschicht  · 11-04-2013 - 12:13


the error message is:

the mentioned area within the xml file is:

After replacing the strange symbols with an proper ' the docx opened as expected. It looks like an charset conversation problem :-( in some way. :-(

... I just implemented the following (temporary) function to avoid having the problem in my development environment again...
[code]private function ParseOutput($string) {
$out = preg_replace("/[^a-zA-Z0-9\s.,!?&%$ยง-_:;#+*=)(]/", "", $string);
return $out;

Any suggestion for a final solution would be appreciated.