mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-07-02 02:33:18 +02:00
fixed a character encoding bug in the message body in the message view popup window
This commit is contained in:
@ -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){
|
||||||
|
Reference in New Issue
Block a user