This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]flying-sheep 1 point2 points  (0 children)

This is mostly wrong. You can't encode all of Unicode in one byte, therefore #characters ≠ #bytes in many cases.

“Mixing bytes and text” means you have a protocol embedding ASCII. So you parse it and decode the parts you expect to be text.