### Description The following code: ```php <?php echo(iconv_mime_decode('=?windows-1258?Q?DSI_Charg=E9_de_Formation_Jean_Dupont?= <jdupont@example.fr>', ICONV_MIME_DECODE_STRICT, 'UTF-8')); ``` Resulted in this output: ``` DSI Chargé de Formation Jean Dupon <jdupont@example.fr>t ``` But I expected this output instead: ``` DSI Chargé de Formation Jean Dupont <jdupont@example.fr> ``` Nota: On PHP 7.2.34, result is different, but still buggy. ``` DSI Chargé de Formation Jean Dupon <jdupont@example.fr> ``` ### PHP Version 8.1.0 ### Operating System Ubuntu 20.04.1
Activity
trasher commentedon Jan 21, 2022
Result is the same with PHP 7.4.27 and 8.0.15.
cmb69 commentedon Feb 3, 2022
Indeed, the fix for bug 79200 wasn't quite right regarding
iconv_mime_decode().Fix phpGH-7980: Unexpected result for iconv_mime_decode
Merge branch 'PHP-8.0' into PHP-8.1
Merge branch 'PHP-8.1'