C++ Logo

std-proposals

Advanced search

Re: [std-proposals] char8_t aliasing and Unicode

From: Simon Schröder <dr.simon.schroeder_at_[hidden]>
Date: Sun, 31 Aug 2025 14:07:42 +0200

On Aug 31, 2025, at 1:53 PM, zxuiji via Std-Proposals <std-proposals_at_[hidden]> wrote:


On Sun, 31 Aug 2025 at 12:51, Tiago Freire <tmiguelf_at_[hidden]> wrote:
I've never advocated for UCS2. My position has always been that the standard should stay out it.

You must be confusing me for a different person on this thread. I'm not the only Tiago.


Ah yeah, my bad. For some reason thought you were the OP, probably because I have a bad habit of failing to check names 😅 

I don’t think anybody is advocating for UCS2. This has been superseded by UTF-16. All implementations have tried to switch over at some point. I have a fear that there are still some lingering bugs because of the switch in encodings.

BTW, Microsoft does not strictly adhere to UTF-16. UTF-16 does not allow certain bit patterns which Microsoft gladly supports. So, even if we pick UTF-16 it should actually be Unicode.
--
Std-Proposals mailing list
Std-Proposals_at_[hidden]
https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals

Received on 2025-08-31 12:07:55