diff --git a/loc.cabal b/loc.cabal
--- a/loc.cabal
+++ b/loc.cabal
@@ -1,9 +1,9 @@
--- This file has been generated from package.yaml by hpack version 0.17.0.
+-- This file has been generated from package.yaml by hpack version 0.18.1.
 --
 -- see: https://github.com/sol/hpack
 
 name:           loc
-version:        0.1.3.0
+version:        0.1.3.1
 synopsis:       Types representing line and column positions and ranges in text files.
 
 description:    The package name /loc/ stands for “location” and is also an allusion to the
@@ -13,7 +13,7 @@
                 is a nonempty range between two @Loc@s, and the @Area@ type is a set of
                 non-touching @Span@s.
 category:       Data Structures
-homepage:       https://github.com/chris-martin/haskell-libraries
+homepage:       https://github.com/chris-martin/loc
 author:         Chris Martin <ch.martin@gmail.com>
 maintainer:     Chris Martin <ch.martin@gmail.com>
 license:        Apache-2.0
diff --git a/test/hedgehog.hs b/test/hedgehog.hs
--- a/test/hedgehog.hs
+++ b/test/hedgehog.hs
@@ -7,6 +7,7 @@
 import qualified Data.Loc.Span as Span
 
 import Hedgehog
+import System.IO (hSetEncoding, stdout, stderr, utf8)
 
 import qualified Data.List as List
 import qualified Hedgehog.Gen as Gen
@@ -15,6 +16,8 @@
 
 main :: IO ()
 main =
+  hSetEncoding stdout utf8 *>
+  hSetEncoding stderr utf8 *>
   checkParallel $$(discover) >>= \ok ->
   when (not ok) exitFailure
 
