The UTF-8 bytes for café € branch through two decoders: UTF-8 recovers the original text, while Windows-1252 produces different characters without a decoding exception.

A charset tells the reader how the bytes become characters

Character encoding connects bytes to characters. In text/plain; charset=utf-8, the charset parameter names that connection; changing the parameter does not change the payload. Reliable text delivery requires agreement between the producer’s actual encoding and the consumer’s decoding rules, not simply the appearance of the word UTF-8 in a configuration file. ...

March 5, 2027 · 4 min · XB Field Notes