Hi there,
I try to insert special characters into
oDocx->embedHTML
The problen is, that the given html string has this " größe, Köln " etc.
I docx it shows something like this "ö" for "ö"
I try this, without success:
$oPurify = new CHtmlPurifier(); $sIntroText = $this->aData['intro']['text']; $aIntroText = explode('{{tabelle}}', $sIntroText); $this->oDocx->addBreak(array('type' => 'page')); $this->oDocx->embedHTML($oPurify->purify($aIntroText[1]));
What I'm doing wrong?