* mu.cc: setlocale (LC_ALL, "") to make non-ascii searches work

This commit is contained in:
Dirk-Jan C. Binnema 2010-09-04 12:58:45 +03:00
parent 0ad1fb1165
commit 6b3272fb8c
2 changed files with 5 additions and 3 deletions

View File

@ -21,8 +21,8 @@
#include <glib.h>
#include <glib-object.h>
#include <string.h>
#include <stdio.h> /* for fileno() */
#include <locale.h> /* for setlocale() */
#include "mu-config.h"
#include "mu-cmd.h"
@ -53,6 +53,8 @@ main (int argc, char *argv[])
MuConfigOptions config;
gboolean rv;
setlocale (LC_ALL, "");
g_type_init ();
if (!mu_config_init (&config, &argc, &argv))