- 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\xfd\xbf\xbf\xbf\xbf\xbfB", 'UTF-16', 'UTF-8')));