3 ms·
32 bit-representations (compared to UCS-2), not 32 bits worth of values, so it can represent all of Unicode. UCS-2 is limited to only 16-bit representation, ma
by gowld 8y ago
32 bit-representations (compared to UCS-2), not 32 bits worth of values, so it can represent all of Unicode.
UCS-2 is limited to only 16-bit representation, making it _impossible_ to express Unicode values outside the basic multilingual plane (BMP).
- stouset 8y agoCorrect, this is what I meant. UTF-16 can use up to 32 bits to represent a larger number of characters, but cannot uniquely represent 2^32 possible characters.