I changed the default char-encoding in my php config to utf-8.
Now when I use :
[code]
$docx->addText(utf8_encode(html_entity_decode('& uuml;'));
[/code]
I get it working for this single char.
However, when I call the same encode/decode chain with the actual string I need to use, it doesn't work anymore ;(
[code]
$docx->addText(utf8_encode(html_entity_decode($db['textField']));
[/code]
When I echo the $docx object, and view the src, it looks like proper encoding, but when writing it to a file and downloading it, it tells me there are "incorrect characters" in the document.
What is going on here,.. plz anyone know how to fix this?