UTF-16 was always a mistake[1]. Good riddance. Time to get it out of LSP specification[2] as well.
[1] http://utf8everywhere.org/
[2] https://github.com/microsoft/language-server-protocol/issues...
[1] http://utf8everywhere.org/
[2] https://github.com/microsoft/language-server-protocol/issues...
So it's not just UTF16 that has problems and can cause security problems. I just wanted to emphasize that
Every problem that UTF-8, it shares with UTF-16. It also shares every problem with UTF-32.
You can certainly decide you don't care about any existing code, and that anyone using UTF-16 based platforms (Windows, .NET, Java, JavaScript) should get a bad experience, but I don't think the case for that is as obvious as you believe it is.