Ensure `.tix` files read and written in UTF-8 (ghc/ghc#17073):
Compare changes
Files
6+ 5
− 7
@@ -18,7 +18,7 @@ module Trace.Hpc.Tix(Tix(..), TixModule(..),
@@ -45,17 +45,15 @@ tixModuleTixs (TixModule _ _ _ tixs) = tixs
readFielUtf8
and writeFileUtf8
functions.See ghc/ghc!1598 (comment 224041) for motivation behind this MR. CC @bgamari