Hello,
We recommend you to read these pages:
http://www.phpdocx.com/documentation/cookbook/convert-html-to-word
http://www.phpdocx.com/documentation/cookbook/working-with-special-characters
You don't need to escape accents. If you use htmlentities to transform HTML tags, then they won't be transformed to Word as the tags are not readed.
Besides all included examples and documentation pages, after you have purchased a license we can generate a sample to show you how to do it.
Regards.