- mb_convert_encoding: documentation ( source)
- var_dump: documentation ( source)
<?php
$str = "TM: \x99";
$result = iconv('Windows-1252', 'UTF-8', $str);
var_dump(
mb_convert_encoding($str, 'UTF-8', 'Windows-1252'),
iconv('Windows-1252', 'UTF-8', $str)
);