public function getHtmlBody($encoding = CharacterEncodingHelper::UTF8) { $this->parseParts(); return CharacterEncodingHelper::text($this->htmlBody, $encoding, $this->characterEncodingHtml); }
public function testText() { $text = "test met € en é en ë."; $this->assertEquals($text, CharacterEncodingHelper::text($text, CharacterEncodingHelper::UTF8)); }