- mb_convert_encoding: documentation ( source)
- var_dump: documentation ( source)
- bin2hex: documentation ( source)
- mb_substitute_character: documentation ( source)
<?php
mb_substitute_character(0xfffd);
var_dump(bin2hex(mb_convert_encoding("A\xed\xa0\x80B", 'UTF-16', 'UTF-8')));