Joined April 2013
·

Jensen

Ã…rhus Area, Denmark
·

Thanks for the hint.

You might also just add the charset to the type when you set it first time around, instead of removing the header and adding it again:

$html->type = 'text/html; charset=UTF-8'</code>

(or do it by appending charset to typetext constant)

$html->type = Mime::TYPE_HTML . "; charset=UTF-8"</code>

(note: no trailing ";" after UTF-8)

Achievements
1 Karma
0 Total ProTip Views