From c55831f7c7869f619a5001044fbe5e2d44871877 Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Sat, 4 Sep 2010 14:32:33 +0300 Subject: [PATCH] * mu.cc: add some comment regarding setlocale --- src/mu.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mu.cc b/src/mu.cc index a90ee0d8..07d38a4e 100644 --- a/src/mu.cc +++ b/src/mu.cc @@ -1,5 +1,5 @@ /* -** Copyright (C) 2010 Dirk-Jan C. Binnema +b** Copyright (C) 2010 Dirk-Jan C. Binnema ** ** This program is free software; you can redistribute it and/or modify it ** under the terms of the GNU General Public License as published by the @@ -53,6 +53,8 @@ main (int argc, char *argv[]) MuConfigOptions config; gboolean rv; + /* without setlocale, non-ascii cmdline params (like search + * terms) won't work */ setlocale (LC_ALL, ""); g_type_init ();