From d7ea188df43d48e64763e55928ad07af9682aef2 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 8 Nov 2007 06:37:35 +0000 Subject: [PATCH] "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" --- felamimail/inc/class.bofelamimail.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/felamimail/inc/class.bofelamimail.inc.php b/felamimail/inc/class.bofelamimail.inc.php index e73480f175..441fcd229d 100644 --- a/felamimail/inc/class.bofelamimail.inc.php +++ b/felamimail/inc/class.bofelamimail.inc.php @@ -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)) {