perl -e '$c="f6"; $u=pack("U",hex($c)); print $u, "\x{f6}"' | od -tx1 0000000 c3 b6 c3 b6 0000004