aboutsummaryrefslogtreecommitdiffstats
path: root/common/init.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2021-03-05 09:13:21 +0000
committerWerner Koch <[email protected]>2021-03-05 09:43:11 +0000
commitf165c8a737cc968554c9d78932c69869456108ff (patch)
tree70934e4104baec66b57527ebf303dd339bde3eb1 /common/init.c
parentcommon: Re-indent ttyio.c and remove EMX, RISCOS, and CE support (diff)
downloadgnupg-f165c8a737cc968554c9d78932c69869456108ff.tar.gz
gnupg-f165c8a737cc968554c9d78932c69869456108ff.zip
common,w32: Allow Unicode input and output with the console.
* common/ttyio.c (do_get) [W32]: Use ReadConsoleW. (w32_write_console): New. (tty_printf, tty_fprintf) [W32]: Use new function. -- Note that due this change fixed stings (i.e. gettext translations) printed to the console will not be rendered correctly unless "chcp 65001" has been used. This needs to be fixed by followup patch. GnuPG-bug-id: 4365
Diffstat (limited to 'common/init.c')
0 files changed, 0 insertions, 0 deletions