restore properly
authordemeritcowboy <demeritcowboy@hotmail.com>
Wed, 4 Jan 2023 03:08:54 +0000 (22:08 -0500)
committerdemeritcowboy <demeritcowboy@hotmail.com>
Wed, 4 Jan 2023 03:08:54 +0000 (22:08 -0500)
tests/phpunit/CRM/Core/I18n/LocaleTest.php

index aad5872e206555bfb0c2d6f18d75dd5bd1bc3c73..47f6cd7bff474ddf3783f06dac8c66b30bf88e55 100644 (file)
@@ -147,7 +147,7 @@ class CRM_Core_I18n_LocaleTest extends CiviUnitTestCase {
     $dao = new CRM_Core_DAO();
     // When query() uses strtolower this returns NULL instead
     $this->assertEquals(1, $dao->query("INSERT INTO foo VALUES ('Turkish Delight')"));
-    setlocale(LC_ALL, 'en_US');
+    setlocale(LC_ALL, 'en_US.utf8');
     CRM_Core_DAO::executeQuery("DROP TABLE foo");
   }