12 ms·
>Other common myths include: Unicode can only support characters up to 65,536 Not really a myth. This was UCS2 and was the situation when a load of important e
by KayEss 13y ago
>Other common myths include: Unicode can only support characters up to 65,536
Not really a myth. This was UCS2 and was the situation when a load of important early adopters started with Unicode. Winodws, Java, JavaScript all got burnt by this and ended up with UTF-16 as a result. Even Python 2.x on Linux is UTF-16 under the covers :(
>Unicode is just a standard way to map characters to magic numbers and there is no limit on the number of characters it can represent.
Unicode now limits itself to 21 bits of data. This is what allows the surrogate pair coding of UTF-16