xref: /PHP-8.4/ext/iconv/tests/bug60494.phpt (revision e9f783fc)
1--TEST--
2Bug #60494 (iconv_mime_decode does ignore special characters)
3--EXTENSIONS--
4iconv
5--FILE--
6<?php
7var_dump(iconv_mime_decode('ä'));
8var_dump(iconv_mime_decode('ö'));
9var_dump(iconv_mime_decode('ß'));
10?>
11--EXPECTF--
12Notice: iconv_mime_decode(): Detected an illegal character in input string in %s on line %d
13bool(false)
14
15Notice: iconv_mime_decode(): Detected an illegal character in input string in %s on line %d
16bool(false)
17
18Notice: iconv_mime_decode(): Detected an illegal character in input string in %s on line %d
19bool(false)
20