[gnome-desktop/mcatanzaro/wallclock] long shot: try switching from .utf8 to .UTF-8



commit 031c345cff0e34d3ed323ef28ff131135580669d
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Fri Jul 19 15:12:59 2019 -0500

    long shot: try switching from .utf8 to .UTF-8
    
    These should be synonyms, but I'm stumped as to why these tests are
    failing so it's worth a shot.

 tests/wall-clock.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/tests/wall-clock.c b/tests/wall-clock.c
index 4937ee66..26eca757 100644
--- a/tests/wall-clock.c
+++ b/tests/wall-clock.c
@@ -59,7 +59,7 @@ test_utf8_character (const char *utf8_char,
        g_object_unref (clock);
 
        /* In a UTF8 locale, we want ratio characters and no colons. */
-       locale = newlocale (LC_ALL_MASK, "en_US.utf8", locale);
+       locale = newlocale (LC_ALL_MASK, "en_US.UTF-8", locale);
        uselocale (locale);
        clock = gnome_wall_clock_new ();
        str = gnome_wall_clock_string_for_datetime (clock,
@@ -72,7 +72,7 @@ test_utf8_character (const char *utf8_char,
 
        /* ... and same thing with an RTL locale: should be formatted with
          * ratio characters */
-       locale = newlocale (LC_ALL_MASK, "he_IL.utf8", locale);
+       locale = newlocale (LC_ALL_MASK, "he_IL.UTF-8", locale);
        uselocale (locale);
        clock = gnome_wall_clock_new ();
        str = gnome_wall_clock_string_for_datetime (clock,
@@ -111,7 +111,7 @@ test_clock_format_setting (void)
        locale_t save_locale;
        const char *str;
 
-       locale = newlocale (LC_ALL_MASK, "en_US.utf8", (locale_t) 0);
+       locale = newlocale (LC_ALL_MASK, "en_US.UTF-8", (locale_t) 0);
        save_locale = uselocale (locale);
 
        settings = g_settings_new ("org.gnome.desktop.interface");


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