id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,difficulty,ghcversion,platform
609,ghc-pkg dump encoding,igloo,,"With ghc-6.12.0.20091120, `FunctorSalad` on IRC found:
{{{
when I try to run some Setup.hs (of any package, apparently), 
it compiles, but ./Setup configure crashes with:
Setup: fd:5: hGetContents: invalid argument (Invalid or 
incomplete multibyte or wide character)
*** glibc detected *** ./Setup: double free or corruption 
(!prev): 0x098953a0 ***
}}}
As far as I can tell, the problem is that `./Setup` finds `/usr/bin/ghc` which is 6.10.4, and the output of `ghc-pkg dump | hexdump -C` includes:
{{{
00038060  63 6f 70 79 72 69 67 68  74 3a 20 a9 20 32 30 30  |copyright: . 200|
}}}
i.e. there's a latin-1 copyright symbol 0xA9.
",defect,closed,normal,Cabal-1.8,Cabal library,HEAD,normal,fixed,,,unknown,,
