Hello
I am having an issue with the addTemplateVariable and replaceTemplateVariableByHTML methods. When I pass them a UTF-8 encoded string, for example: "£190". It replaces in the document with "£190".
I can confirm that all the data being passed between the pages is in UTF-8 format - the data is passed to the script via JSON, and works flawlessly elsewhere, only in PHPDocX it is facing some issues. Is it an issue with the template file not being saved in a UTF-8 format? How would I fix that?
Many thanks in advance.