Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on The UTF-8-Everywhere Manifesto.
Consider the following diagram:
[user-perceived characters] <-+ ^ | | | v | [characters] <-> [grapheme clusters] | ^ ^ | | | | v v | [bytes] <-> [codepoints] [glyphs] <----------+
There are no comments on this comment yet.
Consider the following diagram:
Choice of encoding only affects the conversion from bytes to codepoints, which is pretty straight-forward: The subtleties lie elsewhere...