3 ms·
Neither Windows, nor .NET, nor Java have moved away from 16-bit code units (the latter two have made concessions for strings in other encodings, either to save
by ygra 6y ago
Neither Windows, nor .NET, nor Java have moved away from 16-bit code units (the latter two have made concessions for strings in other encodings, either to save space or to improve speed in scenarios where UTF-16 will never appear, like HTTP headers). It's unlikely they ever will; that's a hell of a backwards-compatibility break for very little gain.
- qz2 6y agoYeah also to note that strings in powershell are 16-bit chars.