1--TEST--
2htmlentities() test 7 (mbstring / ISO-8859-1)
3--INI--
4output_handler=
5--SKIPIF--
6<?php
7	extension_loaded("mbstring") or die("skip mbstring not available\n");
8	mb_internal_encoding('ISO-8859-1');
9	$php_errormsg = NULL;
10	@htmlentities("\xe4\xf6\xfc", ENT_QUOTES, '');
11	if ($php_errormsg) {
12		die("skip ISO-8859-1 chracter set is not supported on this platform.\n");
13	}
14?>
15--FILE--
16<?php
17	mb_internal_encoding('ISO-8859-1');
18	print mb_internal_encoding()."\n";
19	var_dump(htmlentities("\xe4\xf6\xfc", ENT_QUOTES, ''));
20?>
21--EXPECT--
22ISO-8859-1
23string(18) "&auml;&ouml;&uuml;"
24