diff --git a/src/Fetch/Message.php b/src/Fetch/Message.php index a91436a..a9d534a 100644 --- a/src/Fetch/Message.php +++ b/src/Fetch/Message.php @@ -414,7 +414,7 @@ class Message $messageBody = self::decode($messageBody, $structure->encoding); - if ($parameters['charset'] !== self::$charset) + if (!empty($parameters['charset']) && $parameters['charset'] !== self::$charset) $messageBody = iconv($parameters['charset'], self::$charset, $messageBody); if (strtolower($structure->subtype) == 'plain' || $structure->type == 1) {