"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:
Ralf Becker 2007-11-08 06:37:35 +00:00
parent eb3dd68d45
commit d7ea188df4

View File

@ -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)) {