mirror of
https://bitbucket.org/jsuto/piler.git
synced 2026-10-01 14:00:20 +02:00
fixed a decoding issue
This commit is contained in:
1 parent
b4854e312a
commit
69fa244dfa
1 file changed
+2
-1
@@ -224,7 +224,8 @@ class ModelSearchMessage extends Model {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if($charset && !preg_match("/utf-8/i", $charset)){
|
if($charset && !preg_match("/utf-8/i", $charset)){
|
||||||
$chunk = iconv($charset, 'utf-8', $chunk);
|
$s = iconv($charset, 'utf-8', $chunk);
|
||||||
|
if($s) { $chunk = $s; $s = ''; }
|
||||||
}
|
}
|
||||||
|
|
||||||
if($text_plain == 1){
|
if($text_plain == 1){
|
||||||
|
|||||||
Reference in new issue
Block a user