News for hackers. Stuff that matters.
Re:Text Editor Data Structures by rcoveson on Tuesday June 13, 2023 @04:34PM (#36316733)
Yes, UTF-8 was up to 6 bytes per character early on. Some broken implementations like MySQL's limit it to up to 3 bytes per character. The actual number is 4.

So what is "up to 5"?

Re:Text Editor Data Structures by chipsa on Wednesday June 14, 2023 @06:19AM (#36323775)
I think with decomposed Hangul, you can end up with 6 or more bytes per character, due to each part of it being two bytes, and 2-4(?) parts per character.