aboutsummaryrefslogtreecommitdiffstats
path: root/src/wait-user.c
diff options
context:
space:
mode:
authorAndre Heinecke <[email protected]>2023-10-25 15:20:56 +0000
committerAndre Heinecke <[email protected]>2023-10-25 15:42:27 +0000
commita0a4cd411c6d891e9ca784fd12b76410b0bb4673 (patch)
tree4544bae98338a4d9a01247fd76e511b708e6f559 /src/wait-user.c
parentPost release updates (diff)
downloadgpgme-a0a4cd411c6d891e9ca784fd12b76410b0bb4673.tar.gz
gpgme-a0a4cd411c6d891e9ca784fd12b76410b0bb4673.zip
Change gpgme-w32-spawn to unicode
* src/Makefile.am (gpgme_w32spawn_CFLAGS): Add -municode. * src/gpgme-w32-spawn.c (build_commandline, my_spawn) (translate_handles): Convert to wchar_t API. (main): Use wmain instead. -- Some time ago we introduced an inconsistency that w32-util called gpgme-w32-spawn through CreateProcessW but since gpgme-w32-spawn internally worked with 8 bit the chars were mangled and the arguments not passed correctly through the CreateProcessA of the child process. Since the GnuPG processes use GetCommandLineW this is the proper way to pass on Unicode command line arguments. Please note that we did not pass UTF-8 before this patch but rather some broken native encoding where Windows replaces unicode characters with question marks etc. GnuPG-Bug-Id: T6728
Diffstat (limited to 'src/wait-user.c')
0 files changed, 0 insertions, 0 deletions