We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1e316b commit 1345950Copy full SHA for 1345950
src/PhpImap/DataPartInfo.php
@@ -114,6 +114,12 @@ protected function convertEncodingAfterFetch(): string
114
$this->data = $this->mail->decodeMimeStr(
115
(string) $this->data // Data to convert
116
);
117
+
118
+ $this->data = $this->mail->convertToUtf8(
119
+ $this->data,
120
+ $this->charset
121
+ );
122
+ $this->charset = 'utf-8';
123
}
124
125
return (null === $this->data) ? '' : $this->data;
0 commit comments