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

Ross Paterson ross at soi.city.ac.uk
Sun Feb 24 09:44:56 EST 2008


On Sat, Feb 23, 2008 at 10:49:59AM -0800, Duncan Coutts wrote:
> Sat Feb 23 10:40:25 PST 2008  Duncan Coutts <duncan at haskell.org>
>   * First pass at parsing .cabal files as UTF8
>   Also print output and error messages etc in UTF8.

On the input side, wouldn't it be better to do this on the boundary,
so that String always means a list of Chars, not octets?  That is,
have a readUTFFile that opens the file in binary mode and applies
fromUTF to its contents, yielding a real String.



More information about the cabal-devel mailing list