summaryrefslogtreecommitdiff
path: root/src/version.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/version.c')
-rw-r--r--src/version.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/version.c b/src/version.c
index 5beb63a..b0e2a10 100644
--- a/src/version.c
+++ b/src/version.c
@@ -72,6 +72,9 @@ do_subsystem_inits (void)
WSAStartup (0x202, &wsadat);
}
+
+ /* We want gpgrt's gettext to always output UTF-8. */
+ gettext_use_utf8 (1);
#endif
_gpgme_debug_subsystem_init ();
@@ -183,7 +186,7 @@ _gpgme_compare_versions (const char *my_version,
}
-/* Check that the the version of the library is at minimum the
+/* Check that the version of the library is at minimum the
requested one and return the version string; return NULL if the
condition is not met. If a NULL is passed to this function, no
check is done and the version string is simply returned.
@@ -200,7 +203,7 @@ gpgme_check_version (const char *req_version)
/* Catch-22: We need to get at least the debug subsystem ready
before using the trace facility. If we won't the trace would
- automagically initialize the debug system with out the locks
+ automagically initialize the debug system without the locks
being initialized and missing the assuan log level setting. */
TRACE (DEBUG_INIT, "gpgme_check_version", NULL,
"req_version=%s, VERSION=%s",