3 ms·
Well, they say UTF-16, but they still allow unpaired surrogates in some places, so it is really more like UCS-2.
by AnIdiotOnTheNet 6y ago
Well, they say UTF-16, but they still allow unpaired surrogates in some places, so it is really more like UCS-2.
- ChrisSD 6y agoLinux also allows invalid utf-8.
- chungy 6y agoIt is, Windows NT's adoption of Unicode predates UTF-16 and it's impossible to really make it UTF-16 compliant without breaking obscure corners of compatibility. Most programs assume it's all UTF-16, and it happens to work most of the time... at least until you encounter those sequences that are invalid.