Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works

UTF-8

The standard way to store text as bytes: plain English letters take one byte each, other characters take two to four.

UTF-8 encodes every Unicode character as 1-4 bytes, with ASCII characters unchanged as single bytes; it is the default text encoding of JSON, MQTT strings and HTTP.

Examples

  • 21.5 °C is 7 characters but 8 bytes in UTF-8, because the degree sign takes two bytes.

  • A plain ASCII name like bench1 is already valid UTF-8, one byte per letter.

Read the full section →