From 0ffd625d4130bb89370804727af1cb87bc796997 Mon Sep 17 00:00:00 2001 From: Ulrik Sverdrup Date: Thu, 15 Nov 2012 17:41:37 +0100 Subject: [PATCH] main: Setup correct encoding before displaying cliarg error --- terminal/main.c | 2 ++ 1 fil ändrad, 2 tillägg(+) diff --git a/terminal/main.c b/terminal/main.c index 66567e2..ffbe485 100644 --- a/terminal/main.c +++ b/terminal/main.c @@ -207,6 +207,8 @@ main (int argc, char **argv) else if (error->domain == TERMINAL_ERROR && error->code == TERMINAL_ERROR_OPTIONS) { + /* set locale for correct output encoding below*/ + gtk_set_locale (); /* options were not parsed succesfully, don't try that again below */ g_printerr ("%s\n", error->message); g_error_free (error); -- 1.7.10.4