We really ought to deprecate UTF-16 someday.
We really ought to deprecate UTF-16 someday. The fact that it pretends to be a fixed-length encoding has caused all sorts of bugs over the years, with many people assuming n(UTF-16 codepoints) == n(characters) which breaks when the string contains non-BMP characters. And also, for personal aesthetic reasons I hate that it limits the Unicode codepoint range to an awkward non-power-of-two number (now there are 0x110000 codepoints in total). UTF-8 and UTF-32's 2^31 feels much more natural.
Posted by orangeboats on Sep 21, 2026, 1:58 PM
Tags
Related issues
- I wish there was something that could be done beyond feeling powerless.
- I don’t hate taxes per se but I hate that the government will take tax dollars earmarked for one purpose, which is how they got the tax a...
- I've never thought SF Symbols were beautiful.
- > conservatives don't like being told that their ideas, while legally allowed, are not welcome in polite company As long as there are a ...
- Yeah but this AI music is worse than any AI produced code.
- I wish there was a way I could get educational-only youtube as an adult.
Raise real-world problems, find people facing the same issue, and discuss solutions.2,000 issues0 comments
complaint (Other)
I wish there was something that could be done beyond feeling powerless.
NewI don’t hate taxes per se but I hate that the government will take tax dollars earmarked for one purpose, which is how they got the tax a...
NewI've never thought SF Symbols were beautiful.
New> conservatives don't like being told that their ideas, while legally allowed, are not welcome in polite company As long as there are a ...
NewYeah but this AI music is worse than any AI produced code.
I wish there was a way I could get educational-only youtube as an adult.
people say taste is the differentiator but I hate that because taste is personal, whereas culture is communal taste without curation for...
I've always enjoyed hacking on random projects and AI does that really well.
We really ought to deprecate UTF-16 someday.
We really ought to deprecate UTF-16 someday. The fact that it pretends to be a fixed-length encoding has caused all sorts of bugs over the years, with many people assuming n(UTF-16 codepoints) == n(characters) which breaks when the string contains non-BMP characters. And also, for personal aesthetic reasons I hate that it limits the Unicode codepoint range to an awkward non-power-of-two number (now there are 0x110000 codepoints in total). UTF-8 and UTF-32's 2^31 feels much more natural.
Comments (0)
No comments yet. Start the discussion.