<?php $str = 'áéóú'; // ISO-8859-1 echo mb_detect_encoding($str, 'UTF-8'); // 'UTF-8' echo mb_detect_encoding($str, 'UTF-8', true); // false ?>
You have javascript disabled. You will not be able to edit any code.