On Sat, Feb 23, 2008 at 10:49:59AM -0800, Duncan Coutts wrote:
> Sat Feb 23 10:40:25 PST 2008  Duncan Coutts <[EMAIL PROTECTED]>
>   * 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.

_______________________________________________
cabal-devel mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cabal-devel

Reply via email to