From 5ee5644ae7dea68acc6f7562bf240ffc57f06b3a Mon Sep 17 00:00:00 2001 From: SJ Date: Thu, 2 Aug 2012 17:03:17 +0200 Subject: [PATCH] fixed a character encoding bug in the message body in the message view popup window --- webui/model/search/message.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webui/model/search/message.php b/webui/model/search/message.php index cc58f8a4..cd49eb4c 100644 --- a/webui/model/search/message.php +++ b/webui/model/search/message.php @@ -224,7 +224,7 @@ class ModelSearchMessage extends Model { } if(!preg_match("/utf-8/i", $charset)){ - $chunk = utf8_encode($chunk); + $chunk = iconv($charset, 'utf-8', $chunk); } if($text_plain == 1){