forked from extern/egroupware
"small fix to deal with wrong charset iso8859-1 instead of iso-8859-1, seems to happen quite a lot, at least to my mailbox"
This commit is contained in:
parent
eb3dd68d45
commit
d7ea188df4
@ -383,6 +383,7 @@
|
||||
$fixedMatch = str_replace('_', ' ', $match);
|
||||
$string = str_replace($match, $fixedMatch, $string);
|
||||
}
|
||||
$string = str_replace('=?ISO8859-','=?ISO-8859-',$string);
|
||||
}
|
||||
return mb_decode_mimeheader($string);
|
||||
} elseif(function_exists(iconv_mime_decode)) {
|
||||
|
Loading…
Reference in New Issue
Block a user