182c182
<     else if (strtolower($key) == 'content-type' and strtolower($value) == 'text/html') {
---
>     else if (strtolower($key) == 'content-type' and strtolower($value) == 'text/html; charset=utf-8;') {
313c313,314
<     var $ContentType        = "text/plain";
---
>     //var $ContentType        = "text/plain";
>     var $ContentType        = "text/html; charset=utf-8;";
508c509
<             $this->ContentType = "text/html";
---
>             $this->ContentType = "text/html; charset=utf-8;";
1102c1103
<                     $result .= sprintf("Content-Type: %s;%s\ttype=\"text/html\";%s\tboundary=\"%s\"%s", 
---
>                     $result .= sprintf("Content-Type: %s;%s\ttype=\"text/html; charset=utf-8;\";%s\tboundary=\"%s\"%s", 
1142c1143
<                                               "text/html", "");
---
>                                               "text/html; charset=utf-8;", "");
1175c1176
<                                               "text/html", "") . $this->LE;
---
>                                               "text/html; charset=utf-8;", "") . $this->LE;
