> 6) & 0x1F)) . chr(0x80 | ($code & 0x3F)); }; if ($code < 65536) { return chr(0xE0 | (($code >> 12) & 0x0F)) . chr(0x80 | (($code >> 6) & 0x3F)) . chr(0x80 | ($code & 0x3F)); }; return chr(0xF0 | (($code >> 18) & 0x07)) . chr(0x80 | (($code >> 12) & 0x3F)) . chr(0x80 | (($code >> 6) & 0x3F)) . chr(0x80 | ($code & 0x3F)); } ?>