2 ms·
Read https://unicode.org/faq/utf_bom.html#utf32-2 https://unicode.org/faq/utf_bom.html#utf32-2. In addition, UTF-32 can cause issues on the network due to byte
by layer8 3y ago
Read https://unicode.org/faq/utf_bom.html#utf32-2 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.