<?$char = '£';echo mb_detect_encoding($char);$char = mb_convert_encoding($char, "Windows-1252", "UTF-8");echo mb_detect_encoding($char);?>
Standard input is empty
UTF-8
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!