From 05920193d962c68da1e9c0d6bbf238032902e16a Mon Sep 17 00:00:00 2001 From: Rebecca Turner Date: Mon, 30 Sep 2024 11:32:30 -0700 Subject: [PATCH] Set LC_ALL=en_US.UTF-8 in tests --- cabal-testsuite/src/Test/Cabal/Monad.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cabal-testsuite/src/Test/Cabal/Monad.hs b/cabal-testsuite/src/Test/Cabal/Monad.hs index 38534402d26..04771018cbf 100644 --- a/cabal-testsuite/src/Test/Cabal/Monad.hs +++ b/cabal-testsuite/src/Test/Cabal/Monad.hs @@ -402,8 +402,8 @@ runTestM mode m = testSkipSetupTests = argSkipSetupTests (testCommonArgs args), testHaveCabalShared = runnerWithSharedLib senv, testEnvironment = - -- Try to avoid Unicode output - [ ("LC_ALL", Just "C") + -- Use UTF-8 output on all platforms. + [ ("LC_ALL", Just "en_US.UTF-8") -- Hermetic builds (knot-tied) , ("HOME", Just (testHomeDir env)) -- Set CABAL_DIR in addition to HOME, since HOME has no