diff options
Diffstat (limited to 'src/bt-obex.c')
-rw-r--r-- | src/bt-obex.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bt-obex.c b/src/bt-obex.c index f33abb9..828e19e 100644 --- a/src/bt-obex.c +++ b/src/bt-obex.c @@ -25,11 +25,11 @@ #include <config.h> #endif +#include <locale.h> #include <stdio.h> #include <stdlib.h> #include <string.h> - #include <readline/readline.h> #include <readline/history.h> @@ -141,6 +141,9 @@ int main(int argc, char *argv[]) GError *error = NULL; GOptionContext *context; + /* Query current locale */ + setlocale(LC_CTYPE, ""); + g_type_init(); dbus_init(); |