1--TEST--
2htmlentities() test 10 (default_charset / cp1252)
3--INI--
4output_handler=
5internal_encoding=pass
6default_charset=cp1252
7--FILE--
8<?php
9	print ini_get('default_charset')."\n";
10	var_dump(htmlentities("\x82\x86\x99\x9f", ENT_QUOTES, ''));
11	var_dump(htmlentities("\x80\xa2\xa3\xa4\xa5", ENT_QUOTES, ''));
12?>
13--EXPECT--
14cp1252
15string(28) "&sbquo;&dagger;&trade;&Yuml;"
16string(32) "&euro;&cent;&pound;&curren;&yen;"
17