[glib/glib-2-44] tests: Use de_DE.UTF-8 instead of de_DE



commit dd57ba7bd16314c0088f721d46cee87357ff3ca9
Author: Ting-Wei Lan <lantw src gnome org>
Date:   Wed Apr 29 14:55:00 2015 +0800

    tests: Use de_DE.UTF-8 instead of de_DE
    
    de_DE.UTF-8 is supported by more operating systems, including FreeBSD,
    NetBSD and OpenBSD.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=748612

 glib/tests/option-context.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glib/tests/option-context.c b/glib/tests/option-context.c
index 0ca29ca..cad40a0 100644
--- a/glib/tests/option-context.c
+++ b/glib/tests/option-context.c
@@ -624,7 +624,7 @@ arg_test5 (void)
   gchar **argv_copy;
   int argc;
   char *old_locale, *current_locale;
-  const char *locale = "de_DE";
+  const char *locale = "de_DE.UTF-8";
   GOptionEntry entries [] =
     { { "test", 0, 0, G_OPTION_ARG_DOUBLE, &arg_test5_double, NULL, NULL },
       { NULL } };


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]