From b62e67401ca4695a41128afaea38bea22e508a9e Mon Sep 17 00:00:00 2001
From: Bastien Nocera <hadess@hadess.net>
Date: Fri, 8 Jun 2018 16:23:35 +0200
Subject: [PATCH] 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.
---
 libfprint/fprint-list-supported-devices.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/libfprint/fprint-list-supported-devices.c b/libfprint/fprint-list-supported-devices.c
index 720cfc5..172991c 100644
--- a/libfprint/fprint-list-supported-devices.c
+++ b/libfprint/fprint-list-supported-devices.c
@@ -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);