From c3ee494eefcabd48eb0d2cb8ea8cf8cb1600331a Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Tue, 28 Jan 2014 21:15:39 -0600 Subject: ensure the unit tests' default locale supports utf-8 --- tests/glib-fixture.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/glib-fixture.h') diff --git a/tests/glib-fixture.h b/tests/glib-fixture.h index 3f517d4..1914b8c 100644 --- a/tests/glib-fixture.h +++ b/tests/glib-fixture.h @@ -61,7 +61,7 @@ class GlibFixture : public ::testing::Test virtual void SetUp() { - setlocale(LC_ALL, ""); + setlocale(LC_ALL, "C.UTF-8"); loop = g_main_loop_new(nullptr, false); -- cgit v1.2.3