$OpenBSD: patch-libraries_base_System_IO_hs,v 1.4 2013/07/18 21:43:24 kili Exp $
--- libraries/base/System/IO.hs.orig	Thu Apr 18 23:30:14 2013
+++ libraries/base/System/IO.hs	Sun Jul  7 16:00:36 2013
@@ -186,7 +186,9 @@ module System.IO (
     -- on your system, which is also available as 'localeEncoding'.
     -- (GHC note: on Windows, we currently do not support double-byte
     -- encodings; if the console\'s code page is unsupported, then
-    -- 'localeEncoding' will be 'latin1'.)
+    -- 'localeEncoding' will be 'latin1'. On OpenBSD, the default
+    -- encoding is always 'latin1' but can be overridden with the
+    -- environment variable `HS_ENCODING')
     --
     -- Encoding and decoding errors are always detected and reported,
     -- except during lazy I/O ('hGetContents', 'getContents', and
