Moduleghc-internal-9.1003.0Haskell2010
GHC.Internal.IO.Encoding.Iconv
This module provides text encoding/decoding using iconv
- 3 values
- Packageghc-internal-9.1003.0
- Exports3
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceIconv.hs
Construct an iconv-based TextEncoding for the given character set and CodingFailureMode.
As iconv is missing in some minimal environments (e.g. #10298), this checks to ensure that iconv is working properly before returning the encoding, returning Nothing if not.