$title = òàè; echo mb_detect_encoding($title,'UTF-8',true);
returns UTF-8
$title = òàè; echo mb_detect_encoding($title,'ISO-8859-1',true);
returns ISO-8859-1
Why? It can't be both.
No one has answered this question yet
Check out similar questions: