diff options
Diffstat (limited to 'src/bt-serial.c')
-rw-r--r-- | src/bt-serial.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bt-serial.c b/src/bt-serial.c index a2abe11..d6322d1 100644 --- a/src/bt-serial.c +++ b/src/bt-serial.c @@ -25,6 +25,7 @@ #include <config.h> #endif +#include <locale.h> #include <stdlib.h> #include <string.h> @@ -54,6 +55,9 @@ int main(int argc, char *argv[]) GError *error = NULL; GOptionContext *context; + /* Query current locale */ + setlocale(LC_CTYPE, ""); + g_type_init(); dbus_init(); |