aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/logdiag.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/logdiag.c b/src/logdiag.c
index dd6efed..50720c2 100644
--- a/src/logdiag.c
+++ b/src/logdiag.c
@@ -137,6 +137,7 @@ main (int argc, char *argv[])
#ifdef _WIN32
/* Don't be unneccessarily limited by the system ANSI codepage. */
+ /* g_win32_get_command_line() should replace this code for GLib >= 2.40. */
argv_overriden = get_utf8_args (&argc, &argv);
if (argv_overriden)
_putenv ("CHARSET=UTF-8");