diff options
author | Ingo Klöcker <[email protected]> | 2023-04-04 10:11:15 +0000 |
---|---|---|
committer | Ingo Klöcker <[email protected]> | 2023-04-04 10:11:15 +0000 |
commit | d256ba7cc57d9bfcfa05fb05cf66dc992efbb695 (patch) | |
tree | 9676aba4fa8ba878fb1cfa08409acd65ec62b392 /NEWS | |
parent | core: Minor code cleanup. (diff) | |
download | gpgme-d256ba7cc57d9bfcfa05fb05cf66dc992efbb695.tar.gz gpgme-d256ba7cc57d9bfcfa05fb05cf66dc992efbb695.zip |
w32: Always use UTF-8 for localized texts
* configure.ac: Define GPG_ERR_ENABLE_GETTEXT_MACROS.
* src/version.c (do_subsystem_inits) [W32]: Switch gettext to UTF-8.
--
On Windows, applications using GpgME can now rely on localized texts
returned by GpgME, e.g. the texts for error codes, to be UTF-8 encoded.
In particular, this saves a useless and possibly lossy conversion to
native encoding and back to UTF-8. On other OSes, where we use the
system provided gettext, we assume that UTF-8 is used nowadays.
GnuPG-bug-id: 5960
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1,6 +1,9 @@ Noteworthy changes in version 1.20.0 (unreleased) ------------------------------------------------- + * On Windows, the gettext functions provided by gpgrt are switched into utf8 + mode, so that all localized texts returned by GpgME or gpgrt, e.g. the + texts for error codes are now UTF-8 encoded. * Interface changes relative to the 1.19.0 release: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |