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