3 ms·
And Java's first attempt to implement UTF-8, the one they called "UTF8", is not UTF-8. It's almost but not quite CESU-8. It will probably fuck up your astral ch
by rspeer 13y ago
And Java's first attempt to implement UTF-8, the one they called "UTF8", is not UTF-8. It's almost but not quite CESU-8. It will probably fuck up your astral characters (like emoji).
The real Java UTF-8 is, intuitively, named "AL32UTF8".
- davidgerard 13y agoAnd then there's the unremitting horror that MySQL calls UTF-8, properly known as WTF-8.
- rspeer 13y agoI'd want to save the name "WTF-8" for that case where someone takes some text encoded as UTF-8, decodes it as if it's in a single-byte encoding, and then encodes the resulting mojibake as UTF-8 again. Double UTF-8. WTF-8.