mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 21:10:13 +01:00
fixed a decoding issue
This commit is contained in:
parent
b4854e312a
commit
69fa244dfa
@ -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){
|
||||||
|
Loading…
Reference in New Issue
Block a user