On 3/4/19 10:56 AM, Eddie Kohler wrote:
Another difference is that Samuel's patch supports platforms on which
wchar_t is not Unicode.

I don't know if there are many/any such platforms but it does support them!

I know Cygwin is such a platform, and suspect that mingw is too (although I didn't actually check) - in general, Windows picked wchar_t to be 2 bytes, which is incompatible with full Unicode support requiring 4-byte wchar_t, and hence explaining why C11 introduced char16_t and char32_t to work around the legacy mess that wchar_t causes.

--
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org

Reply via email to