example of a utf-8 format octet string

Posted by erik on Stack Overflow See other posts from Stack Overflow or by erik
Published on 2010-03-22T19:10:03Z Indexed on 2010/03/22 19:21 UTC
Read the original article Hit count: 472

Filed under:
|

I'm working w/ a function that expects a string formatted as a utf-8 encoded octet string. Can someone give me an example of what a utf-8 encoded octet string would look like?

Put another way, if I convert 'foo' to bytes, I get 112, 111, 111. What would these char codes look like as a utf-8 encoded octet string? Would it be "0x70 0x6f 0x6f"?

Thanks

© Stack Overflow or respective owner

Related posts about string

Related posts about utf-8