Skip to content
Snippets Groups Projects
Commit b8e9a7ef authored by Simon McVittie's avatar Simon McVittie
Browse files

wrap: Call setlocale


This ensures that we can display UTF-8, which recent GLib versions do
unconditionally.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent d8e29954
Branches
Tags
No related merge requests found
......@@ -31,6 +31,7 @@
#include <X11/Xauth.h>
#include <locale.h>
#include <stdlib.h>
#include <sys/utsname.h>
......@@ -1543,6 +1544,7 @@ main (int argc,
const gchar *bwrap_help_argv[] = { "<bwrap>", "--help", NULL };
GSpawnFlags spawn_flags = G_SPAWN_DO_NOT_REAP_CHILD;
setlocale (LC_ALL, "");
pv_avoid_gvfs ();
g_set_prgname ("pressure-vessel-wrap");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment