3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $char = '£»øabc'; echo mb_detect_encoding($char).'!'; $char = mb_convert_encoding($char, "Windows-1252", "UTF-8"); echo mb_detect_encoding($char).'!';
based on e0Ea4
Output for 4.3.4 - 7.2.0
UTF-8!!
Output for 4.3.0 - 4.3.3
UTF-8!EUC-JP!