3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = "3 624,00 K\u010d"; // echo iconv('ASCII', 'UTF-8', $a); $string = "chárêctërs"; print(mb_detect_encoding ($string)); $string = mb_convert_encoding($string, "UTF-8"); print(mb_detect_encoding ($string));
Output for 5.2.17
UTF-8UTF-8