Use libcharset instead of nl_langinfo(CODESET) if possible.
authorpho@cielonegro.org <unknown>
Wed, 19 May 2010 01:31:12 +0000 (01:31 +0000)
committerpho@cielonegro.org <unknown>
Wed, 19 May 2010 01:31:12 +0000 (01:31 +0000)
commitb56d2e60a1141e9fc23d795b5b7222921670a285
treebe467d9e5d1d4ec238d7189ccca99aacfc3c7799
parentcdd378d922a7bc4995c21643bf5d4d19581692ab
Use libcharset instead of nl_langinfo(CODESET) if possible.

nl_langinfo(CODESET) doesn't always return standardized variations of the encoding names. Use libcharset if possible, which is shipped together with GNU libiconv.
GHC/IO/Encoding/Iconv.hs
cbits/PrelIOUtils.c
configure.ac