Tell me more ×  Haddock seems to incorrectly re-encode non-ASCII
characters in the documentation in UTF-8 encoded source files. I
often need to include mathematical formulas in the documentation
and they are much more readable if some common math symbols such
as summation (∑) can be used.  However, after running the files
through haddock, these symbols become blank squares. Haddock has
the option --use-unicode but that just converts function arrows
in function signatures etc. into unicode characters, while still
breaking the actually documentation.  Even better would be if
this can be controlled from cabal haddock!  I'm using Haddock
version 2.9.4.  share|improve this question You can use &#962;
and such for non-ASCII symbols. –  Daniel Fischer Mar 1 '12 at
16:01 OK, but then the source becomes unreadable... –  Grzegorz
Chrupała Mar 1 '12 at 16:11 True, but if haddock doesn't
automatically handle UTF-8, not knowing its innards, that's the
best I can offer at the moment. –  Daniel Fischer Mar 1 '12 at
16:13 @D