- mb_convert_encoding: documentation ( source)
- bin2hex: documentation ( source)
- mb_list_encodings: documentation ( source)
<?php
foreach (mb_list_encodings() as $encoding) {
echo $encoding, ': ', bin2hex(mb_convert_encoding('รถ', $encoding, 'UTF-8')), PHP_EOL;
}