3 ms·
UCS-2 was standardized in 1990 and likely was already shipping in implementations before that date. UTF-16 was an hack on top when they realized that UCS-2 was
by gpderetta 6y ago
UCS-2 was standardized in 1990 and likely was already shipping in implementations before that date.
UTF-16 was an hack on top when they realized that UCS-2 wasn't enough.
- btschaegg 6y agoWell, if you're honest, anything about encoding is a hack :) Not that I'm a fan of UTF-16, but I once heard UTF-8 described as "one of the most elegant hacks in computer science", and I think I agree there ;) Edit: Another interesting contender would be KOI8-R, as AFAIK setting its most significant bit to 0 and interpreting it as ASCII mostly results in readable text.
- gpderetta 6y agooh, agree, I didn't mean to imply anything negative with the word hack. I have myself described UTF-8 as a magnificent hack in past HN comments. edit: reword