$OpenBSD: patch-libraries_base_GHC_IO_Encoding_hs,v 1.5 2019/09/30 11:44:18 kili Exp $
Index: libraries/base/GHC/IO/Encoding.hs
--- libraries/base/GHC/IO/Encoding.hs.orig
+++ libraries/base/GHC/IO/Encoding.hs
@@ -102,7 +102,9 @@ utf32le = UTF32.utf32le
 utf32be  :: TextEncoding
 utf32be = UTF32.utf32be
 
--- | The Unicode encoding of the current locale
+-- | The Unicode encoding of the current locale. On OpenBSD this is set
+-- to the value of the environment variable 'HS_ENCODING' or to 'latin1'
+-- if that variable isn't set.
 --
 -- @since 4.5.0.0
 getLocaleEncoding :: IO TextEncoding
