How to get UTF8 octets?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • terence.parker@gmail.com

    #1

    How to get UTF8 octets?

    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
    octets.

    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?

    Thanks!

    Terence

Working...