Comment

Comment by shakna

> one to four one-byte (8-bit) code units

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.

parent shakna 6 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton