How to get UTF8 octets?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

This should be simple, but i've looked and looked and it seems all
anyone wants to do is get the percent-encoding or convert FROM utf8

But I want the octets themselves.

As in, I want to input Chinese (or anything, for that matter) and get
out something along the lines of \x05\x50\x3a etc...

It seems neither utf8_encode nor decide does this job, and neither
does countless other solutions i've tried.

Anyone know how to get this?



Site Timeline