patch applied (cabal): Make UTF-8 decoding errors in .cabal files non-fatal

Ross Paterson ross at
Fri Mar 28 08:20:52 EDT 2008

On Thu, Mar 27, 2008 at 04:39:17PM +0000, Duncan Coutts wrote:
> So I think hackage should reject them with a suitable error message. I
> can send a patch. On that topic in fact, I think all parser warnings
> should be fatal errors as far as hackage is concerned.

OK, parser warnings (including UTF decode errors) are now fatal.
(When the decoder detects all the illegals, they'll be kept out.)
Existing Latin-1 .cabal files have been transliterated to UTF-8.

More information about the cabal-devel mailing list