News for hackers. Stuff that matters.
Re:UTF-8 – "The most elegant hack" by sanderjd on Saturday September 28, 2013 @08:21PM (#6463606)
Is this right? Doesn't Java use UTF-16 internally?
Re:UTF-8 – "The most elegant hack" by rspeer on Sunday September 29, 2013 @02:35AM (#6464340)
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".

Re:UTF-8 – "The most elegant hack" by davidgerard on Sunday September 29, 2013 @04:45PM (#6466455)
And then there's the unremitting horror that MySQL calls UTF-8, properly known as WTF-8.
Re:UTF-8 – "The most elegant hack" by rspeer on Wednesday October 02, 2013 @03:45AM (#6481210)
I'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.