3 ms·
Windows is UTF-16 internally while Linux is UTF-8. If Windows goes to unicode by default, it will make things a lot worse because it won't be the same unicode.
by user5994461 6y ago
Windows is UTF-16 internally while Linux is UTF-8.
If Windows goes to unicode by default, it will make things a lot worse because it won't be the same unicode.
- AnIdiotOnTheNet 6y agoWell, 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.
- JdeBP 6y agoWTF-16 makes the distinction that invalid sequences are allowed. * http://simonsapin.github.io/wtf-8/ http://simonsapin.github.io/wtf-8/