diff options
author | Werner Koch <wk@gnupg.org> | 2020-08-21 21:11:21 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2020-08-21 21:11:21 +0200 |
commit | a68c1975bda47b0698b48761a62e95b371095e9a (patch) | |
tree | bc5220f82e0da76eaa44e3601773e04c4e470bac /NEWS | |
parent | 87a6b28c0f3b6c5b38e0f8a8533df39d3f0c0f03 (diff) | |
download | libgpg-error-a68c1975bda47b0698b48761a62e95b371095e9a.tar.gz |
core,w32: Add UTF-8 support to gpgrt_fopen, gpgrt_mkdir and gpgrt_chdir.
* src/protos.h: New.
* src/Makefile.am (libgpg_error_la_SOURCES): Add file.
* src/gpgrt-int.h: Include protos.h.
* src/sysutils.c (_gpgrt_mkdir) [W32]: Make UTF-8 aware.
(_gpgrt_chdir) [W32]: Ditto.
* src/w32-gettext.c: Include protos.h.
(utf8_to_wchar): Allow for strings.
(_gpgrt_utf8_to_wchar): New.
(_gpgrt_free_wchar): New.
* src/estream.c (map_w32_to_errno): Add more error codes.
(_gpgrt_w32_set_errno): New.
(any8bitchar) [W32]: New helper.
(func_file_create) [W32]: Convert file name and use _wopen.
--
GnuPG-bug-id: 4083
Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,6 +1,9 @@ Noteworthy changes in version 1.39 (unreleased) [C29/A29/R1] ----------------------------------------------- + * On Windows gpgrt_fopen can now handle UTF-8 names. + + * On Windows gpgrt_chdir and gpgrt_mkdir can now handle UTF-8 names. * Interface changes relative to the 1.38 release: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -10,8 +13,8 @@ Noteworthy changes in version 1.39 (unreleased) [C29/A29/R1] Noteworthy changes in version 1.38 (2020-05-29) [C29/A29/R0] ----------------------------------------------- - * New option parser features to implement system wide configuration - files. + * New option parser with features to implement system wide + configuration files. * New functions to build file names. |