php-src/ext/standard/tests/strings/htmlentities03.phpt

14 lines
361 B
Plaintext
Raw Normal View History

2002-10-24 21:11:41 +00:00
--TEST--
htmlentities() test 3 (setlocale / de_DE.ISO-8859-1)
--SKIPIF--
2002-10-26 16:09:50 +00:00
<?php setlocale(LC_CTYPE, "de_DE.ISO-8859-1") or die("skip setlocale() failed\n"); ?>
2002-10-24 21:11:41 +00:00
--INI--
mbstring.internal_encoding=pass
--FILE--
<?php
setlocale( LC_CTYPE, "de_DE.ISO-8859-1" );
var_dump(htmlentities("\xe4\xf6\xfc", ENT_QUOTES, ''));
?>
--EXPECT--
string(18) "&auml;&ouml;&uuml;"