aboutsummaryrefslogtreecommitdiffstats
path: root/common/sysutils.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2020-08-21 12:42:08 +0000
committerWerner Koch <[email protected]>2020-08-21 12:42:08 +0000
commit5305ce17ff7a68ecc88c5ae8c4bec5897df6322f (patch)
tree19f78643ac69be141c19dbbe874aced99a5500b1 /common/sysutils.c
parentcommon: Strip trailing CR,LF from w32_strerror. (diff)
downloadgnupg-5305ce17ff7a68ecc88c5ae8c4bec5897df6322f.tar.gz
gnupg-5305ce17ff7a68ecc88c5ae8c4bec5897df6322f.zip
common,w32: Do not assume the ANSI code during string conversion.
* common/utf8conv.c (get_w32_codepage): New. (wchar_to_native): Use instead oc CP_ACP. (native_to_wchar): Ditto. -- This should fix quite some issue; we fixed it when using the iconv based machinery about 14 years ago. At some point we introduced the new conversion functions because Windows started to support UTF-8 natively. The fix comes late but well, it is done. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'common/sysutils.c')
0 files changed, 0 insertions, 0 deletions