|
From: | Eric Blake |
Subject: | Re: [Qemu-devel] [PATCH 2/2] curses: add option to specify VGA font encoding |
Date: | Mon, 4 Mar 2019 12:32:06 -0600 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |