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