diff options
author | 2019-04-27 20:33:06 +0200 | |
---|---|---|
committer | 2019-05-17 13:21:40 +0200 | |
commit | b7b664a4fe9a955338f2e11a0f7433b29c8cbad0 (patch) | |
tree | c2797765d16ef731898850f7e6fcecae03e052a7 /hw/usb/dev-hub.c | |
parent | Merge remote-tracking branch 'remotes/vivier/tags/m68k-staging-pull-request' into staging (diff) | |
download | qemu-b7b664a4fe9a955338f2e11a0f7433b29c8cbad0.tar.xz qemu-b7b664a4fe9a955338f2e11a0f7433b29c8cbad0.zip |
ui/curses: do not assume wchar_t contains unicode
E.g. BSD and Solaris even use locale-specific encoding there.
We thus have to go through the native multibyte representation and use
mbrtowc/wcrtomb to make a proper conversion.
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Tested-by: Kamil Rytarowski <n54@gmx.com>
Message-Id: <20190427183307.12796-2-samuel.thibault@ens-lyon.org>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/usb/dev-hub.c')
0 files changed, 0 insertions, 0 deletions