1--TEST--
2htmlentities() test 6 (mbstring / ISO-8859-15)
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-15');
9	@htmlentities("\xbc\xbd\xbe", ENT_QUOTES, '');
10	if (@$php_errormsg) {
11		die("skip ISO-8859-15 chracter set is not supported on this platform.\n");
12	}
13?>
14--FILE--
15<?php
16	mb_internal_encoding('ISO-8859-15');
17	print mb_internal_encoding()."\n";
18	var_dump(htmlentities("\xbc\xbd\xbe", ENT_QUOTES, ''));
19?>
20--EXPECT--
21ISO-8859-15
22string(20) "&OElig;&oelig;&Yuml;"
23