fixed a character encoding bug in the message body in the message view popup window

This commit is contained in:
SJ 2012-08-02 17:03:17 +02:00
parent 7c7b30b544
commit 5ee5644ae7

View File

@ -224,7 +224,7 @@ class ModelSearchMessage extends Model {
} }
if(!preg_match("/utf-8/i", $charset)){ if(!preg_match("/utf-8/i", $charset)){
$chunk = utf8_encode($chunk); $chunk = iconv($charset, 'utf-8', $chunk);
} }
if($text_plain == 1){ if($text_plain == 1){