- mb_convert_encoding: documentation ( source)
- var_dump: documentation ( source)
- mb_detect_encoding: documentation ( source)
<?php
$test = "No issue !";
var_dump($test);
var_dump(mb_convert_encoding($test, 'UTF-7', 'UTF-7'));
var_dump(imap_utf7_encode($test));
var_dump(mb_convert_encoding($test, 'UCS-2', 'UTF-8'));
var_dump(mb_detect_encoding($test, ['UTF-7']));
var_dump(mb_detect_encoding($test));