in reply to UTF-8 and characters

You seek the function chr, oh Anonymous One.

$bob = 0x310B; print chr($bob);


Confession: It does an Immortal Body good.