mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 19:50:13 +01:00
fixed a character encoding bug in the message body in the message view popup window
This commit is contained in:
parent
7c7b30b544
commit
5ee5644ae7
@ -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){
|
||||||
|
Loading…
Reference in New Issue
Block a user