[Haskell-cafe] Non-ASCII characters in .cabal files break Haddock?

John Millikin jmillikin at gmail.com
Tue Jan 19 16:00:07 EST 2010


I recently uploaded a package to Hackage[1], which contains a
non-ASCII character in the .cabal file. That file is encoded with
UTF-8, and it displays fine in Vim, Firefox, and even the Hackage
package landing page. However, Haddock is failing to build it[2] --
apparently it can't handle UTF-8 encoded text properly.

In documentation sections, Haddock supports special syntax for
escaping non-ASCII. Is there any equivalent syntax for Cabal files?

[1] http://hackage.haskell.org/package/natural-sort'
[2] http://hackage.haskell.org/packages/archive/natural-sort/0.1/logs/failure/ghc-6.12


More information about the Haskell-Cafe mailing list