News for hackers. Stuff that matters.
Re:Show HN: Charcoal – Faster utf8.Valid using multi-byte pr... by layer8 on Tuesday March 26, 2024 @06:50PM (#39833720)
Read https://unicode.org/faq/utf_bom.html#utf32-2.

In addition, UTF-32 can cause issues on the network due to byte ordering (little endian vs. big endian). There’s really two encodings, UTF-32LE and UTF-32BE.

For all of these reasons, the world has largely standardized on UTF-8, plus for historical reasons UTF-16 in the JVM, CLR, Windows, and JavaScript.

There are no comments on this comment yet.