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