▲ | Andrex 4 days ago | |||||||||||||||||||||||||
What are the perceived benefits of UTF-16 and 32 and why did they come about? I could ask Gemini but HN seems more knowledgeable. | ||||||||||||||||||||||||||
▲ | peterfirefly 4 days ago | parent [-] | |||||||||||||||||||||||||
UTF-16 is a hack that was invented when it became clear that UCS-2 wasn't gonna work (65536 codepoints was not enough for everybody). Almost the entire world could have ignored it if not for Microsoft making the wrong choice with Windows NT and then stubbornly insisting that their wrong choice was indeed correct for a couple of decades. There was a long phase where some parts of Windows understood (and maybe generated) UTF-16 and others only UCS-2. | ||||||||||||||||||||||||||
|