patch applied (cabal): First pass at parsing .cabal files as UTF8

Don Stewart dons at galois.com
Mon Feb 25 18:09:47 EST 2008


igloo:
> On Mon, Feb 25, 2008 at 01:26:52PM -0800, Donald Bruce Stewart wrote:
> > duncan.coutts:
> > > 
> > > It's no use pretending that readFile returns Unicode, it just doesn't
> > > (except on Hugs which does it properly). GHC is not going to catch up on
> > > this any time soon.
> > 
> > Why don't we use the existing, portable UTF8 IO package?
> 
> I'd much rather we fix the IO library that's already in the corelibs
> than add a second one to work around it.
> 
> I wonder if that's suitable for a SoC project?

Add System.IO.UTF8.{readFile,writeFile} to the base library?

-- Don



More information about the cabal-devel mailing list