Add hGetEncoding :: Handle -> IO (Maybe TextEncoding)
[ghc-base.git] / System / IO.hs
index 4467974..f4bcfb5 100644 (file)
@@ -179,6 +179,7 @@ module System.IO (
     -- termination of the character stream, as with other I/O errors.
 
     hSetEncoding, 
+    hGetEncoding,
 
     -- ** Unicode encodings
     TextEncoding,