>Unicode using one to four one-byte
UTF-8 is a variable length encoding, some characters need 8 bits, other characters need 32 bits per your own quote.
UTF-8 is a variable length encoding, some characters need 8 bits, other characters need 32 bits per your own quote.
And it is designed so that it fits in one-byte units. That was a central goal of the encoding.
So... If you have a char buffer, like we have been talking about, you can toss any valid UTF-8 sequence inside it.
Up to you to make sense of the data in singles, pairs, fours, and before that to declare the buffer as the appropriate multiplier plus 1.