cdffd322bb
ok jasper@ (who also gave an ok to all the depending updates).
15 lines
815 B
Plaintext
15 lines
815 B
Plaintext
$OpenBSD: patch-libraries_base_System_IO_hs,v 1.2 2011/04/11 14:30:33 kili Exp $
|
|
--- libraries/base/System/IO.hs.orig Wed Dec 15 19:10:12 2010
|
|
+++ libraries/base/System/IO.hs Sun Dec 19 12:46:34 2010
|
|
@@ -183,7 +183,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
|