mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-08 06:59:46 +01:00
"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);
|
$fixedMatch = str_replace('_', ' ', $match);
|
||||||
$string = str_replace($match, $fixedMatch, $string);
|
$string = str_replace($match, $fixedMatch, $string);
|
||||||
}
|
}
|
||||||
|
$string = str_replace('=?ISO8859-','=?ISO-8859-',$string);
|
||||||
}
|
}
|
||||||
return mb_decode_mimeheader($string);
|
return mb_decode_mimeheader($string);
|
||||||
} elseif(function_exists(iconv_mime_decode)) {
|
} elseif(function_exists(iconv_mime_decode)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user