4 ms·
Not every possible 16 bit value is itself valid UTF-16 - some need to be represented as two UTF-16 code-units, aka "surrogate pairs", 4 bytes total.
by ploxiln 9y ago
Not every possible 16 bit value is itself valid UTF-16 - some need to be represented as two UTF-16 code-units, aka "surrogate pairs", 4 bytes total.