[Haskell-cafe] What's the status with unicode characters on haddock ?

Wolfgang Jeltsch g9ks157k at acme.softbase.org
Fri Jul 17 10:37:43 EDT 2009

Am Freitag, 10. Juli 2009 09:54 schrieb david48:
> Hello all,
> I made a small program for my factory and I wanted to try to document
> it using haddock. The thing is, the comments are in French and the
> resulting html pages are unreadable because the accentuated letters
> are mangled.
> It's not acceptable to use HTML entities, as I'd like the comments to
> remain readable when/if I edit the code.
> Anyone has had the same problem ? Found a workaround ?
> Thanks,
> David.

To my knowledge, Haddock only supports ASCII as input encoding. If you want to 
have characters outside ASCII, you have to escape them using something like 

Best wishes,

More information about the Haskell-Cafe mailing list