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