lib: Fix supported devices page title again

We need to call setlocale() so we run in UTF-8 mode, and can print that
sweet sweet em dash.
This commit is contained in:
Bastien Nocera 2018-06-08 16:23:35 +02:00
parent dd0a0134a6
commit b62e67401c

View file

@ -20,6 +20,7 @@
#include <config.h>
#include <stdio.h>
#include <locale.h>
#include "fp_internal.h"
@ -54,6 +55,8 @@ int main (int argc, char **argv)
guint i;
GList *list, *l;
setlocale (LC_ALL, "");
driver_list = fprint_get_drivers ();
printed = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);