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

Ross Paterson ross at soi.city.ac.uk
Sun Feb 24 13:28:51 EST 2008


On Sun, Feb 24, 2008 at 05:46:35PM +0000, Duncan Coutts wrote:
> So what about hackage? It now has to assume the Strings in the package
> description etc are proper Haskell Unicode Strings and convert to UFT8
> output. Distribution.Simple.Utils exports toUTF8 for this purpose.

XHTML output should be OK: it assumes a charset of iso8859-1 and turns
higher chars into HTML entities.

text/plain output (used by cabal upload) will need some work, though.
I'm not sure what the deal is with charset negotiation.



More information about the cabal-devel mailing list