3v4l.org

run code in 150+ 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 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
UTF-8!!
Output for 4.3.0 - 4.3.3
UTF-8!EUC-JP!