summaryrefslogtreecommitdiff
path: root/tools/gupnp-dlna-ls-profiles.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gupnp-dlna-ls-profiles.c')
-rw-r--r--tools/gupnp-dlna-ls-profiles.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/gupnp-dlna-ls-profiles.c b/tools/gupnp-dlna-ls-profiles.c
index 09f3a76..22b9924 100644
--- a/tools/gupnp-dlna-ls-profiles.c
+++ b/tools/gupnp-dlna-ls-profiles.c
@@ -27,6 +27,7 @@
#include "config.h"
#endif
+#include <locale.h>
#include <stdlib.h>
#include <glib.h>
@@ -65,6 +66,8 @@ main (int argc, char **argv)
g_type_init ();
#endif
+ setlocale (LC_ALL, "");
+
ctx = g_option_context_new (" - program to list all the DLNA profiles supported by gupnp-dlna");
g_option_context_add_main_entries (ctx, options, NULL);
if (!g_option_context_parse (ctx, &argc, &argv, &err)) {