[sound-juicer] mb-test: Display extended characters correctly
- From: Phillip Wood <pwood src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sound-juicer] mb-test: Display extended characters correctly
- Date: Mon, 2 Mar 2015 13:58:30 +0000 (UTC)
commit 9e2c1f0c804c0d556e43cb335eb44c29e7fb4422
Author: Phillip Wood <phillip wood dunelm org uk>
Date: Wed Feb 25 12:13:58 2015 +0000
mb-test: Display extended characters correctly
Call setlocale() so that metadata with extended characters is displayed
correctly.
tests/mb-test.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/tests/mb-test.c b/tests/mb-test.c
index 45ea437..c8f08cf 100644
--- a/tests/mb-test.c
+++ b/tests/mb-test.c
@@ -1,4 +1,5 @@
#include "config.h"
+#include <locale.h>
#include <brasero-medium-monitor.h>
#include <glib.h>
#include <stdlib.h>
@@ -96,6 +97,8 @@ int main (int argc, char** argv)
GError *error = NULL;
BraseroMediumMonitor *monitor;
+ setlocale (LC_ALL, "");
+
/* Make sure probing of the various media have settled before going on */
monitor = brasero_medium_monitor_get_default ();
while (brasero_medium_monitor_is_probing (monitor))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]