Bug 686185: GDateTime Transcoding fails on OSX

Better fix than d5df0a10f. Thanks to Christian Persch for pointing this
out.
This commit is contained in:
John Ralls 2012-11-08 08:35:23 -08:00
parent a9eb1907a6
commit 8dd70a261d

View File

@ -885,7 +885,7 @@ test_non_utf8_printf (void)
g_free (oldlocale);
return;
}
if (g_strcmp0 (g_get_codeset (), "UTF-8") == 0)
if (g_get_charset (NULL))
{
g_test_message ("locale ja_JP.eucjp may be available, but glib seems to think that it's equivalent to UTF-8, skipping non-UTF-8 tests.");
g_test_message ("This is a known issue on Darwin");