php-src/ext/standard/tests/strings/htmlentities12.phpt
Marcus Boerger 0d68286a95 fine tune
2002-10-26 16:09:50 +00:00

15 lines
315 B
PHP

--TEST--
htmlentities() test 12 (default_charset / ISO-8859-1)
--INI--
output_handler=
mbstring.internal_encoding=pass
default_charset=ISO-8859-1
--FILE--
<?php
print ini_get('default_charset')."\n";
var_dump(htmlentities("\xe4\xf6\xfc", ENT_QUOTES, ''));
?>
--EXPECT--
ISO-8859-1
string(18) "&auml;&ouml;&uuml;"