xref: /php-src/ext/iconv/tests/gh7980.phpt (revision 49466af4)
1--TEST--
2Bug GH-7980 (Unexpected result for iconv_mime_decode)
3--EXTENSIONS--
4iconv
5--FILE--
6<?php
7$subject = '=?windows-1258?Q?DSI_Charg=E9_de_Formation_Jean_Dupont?= <jdupont@example.fr>';
8var_dump(iconv_mime_decode($subject, ICONV_MIME_DECODE_STRICT, 'UTF-8'));
9?>
10--EXPECT--
11string(57) "DSI Chargé de Formation Jean Dupont <jdupont@example.fr>"
12