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

Duncan Coutts duncan.coutts at
Tue Feb 26 04:14:09 EST 2008

On Mon, 2008-02-25 at 13:26 -0800, Don Stewart wrote:
> duncan.coutts:

> Why don't we use the existing, portable UTF8 IO package?

But it's not. It does exactly the non-portable things that Ross was just
complaining about.

Also it interprets 4 and 5 byte UTF-8 forms and just uses replacement
chars without any option for strict conversions.

Also, the conversion code is slow. It does more list operations than are
necessary and more safe checked chr operations.


More information about the cabal-devel mailing list