5 ms·
See also: wtf-8 encoding, used by Mozilla for potentially broken Unicode input.
by nine_k 7y ago
See also: wtf-8 encoding, used by Mozilla for potentially broken Unicode input.
- klodolph 7y agoWTF-8 is for a very specific application—to encode in an 8-bit sequence a 16-bit sequence which is nominally UTF-16 but may contain unpaired surrogates. It’s not used for weird user inputs, instead, it’s used for e.g. interop with the Win32 API.