diff options
author | Werner Koch <[email protected]> | 2020-10-09 13:36:51 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2020-10-09 13:36:51 +0000 |
commit | dbedf190969de1a796560cfa15fb4ea986bc79dc (patch) | |
tree | 9009cde2ee1a353955bbe5505c3aecbc258e0abe /src/strsource-sym.c | |
parent | doc: Fix typos in comments (diff) | |
download | libgpg-error-dbedf190969de1a796560cfa15fb4ea986bc79dc.tar.gz libgpg-error-dbedf190969de1a796560cfa15fb4ea986bc79dc.zip |
w32: Support utf8 also for getcwd.
* src/sysutils.c (_gpgrt_getcwd) [W32]: Implement utf-8 support.
* src/w32-gettext.c (wchar_to_native): Factor some code out to ..
(wchar_to_cp): new.
(_gpgrt_wchar_to_utf8): New.
* tests/t-stringutils.c: Include windows.h.
(utf8_to_wchar): New.
(wchar_to_utf8): New.
(mygetcwd): Use wchar version for Windows.
(main): New option --pwd.
Diffstat (limited to 'src/strsource-sym.c')
0 files changed, 0 insertions, 0 deletions