diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2019-04-27 20:33:06 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-05-17 13:21:40 +0200 |
commit | b7b664a4fe9a955338f2e11a0f7433b29c8cbad0 (patch) | |
tree | c2797765d16ef731898850f7e6fcecae03e052a7 /fpu | |
parent | b0f9690e78827d55a508c73432c73f057f59fd41 (diff) |
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 'fpu')
0 files changed, 0 insertions, 0 deletions