
5 Jul
2009
5 Jul
'09
8:15 a.m.
On Tue, Jun 30, 2009 at 01:03:17PM +0100, Simon Marlow wrote:
* http://www.haskell.org/~simonmar/base/System-IO.html#23 System.IO (Unicode encoding/decoding)
Is it possible to make an availableEncodings :: IO [(String, TextEncoding)] ? Also, mkTextEncoding says that it throws an isDoesNotExistError if the named encoding doesn't exist, but the code in base at least looks like it throws InvalidArgument on Windows, and nothing on other platforms. Perhaps it's different in your tree, though. Thanks Ian