[Haskell-cafe] What's the status with unicode characters on
haddock ?
Wolfgang Jeltsch
g9ks157k at acme.softbase.org
Fri Jul 17 12:05:46 EDT 2009
Am Freitag, 17. Juli 2009 16:43 schrieben Sie:
> On Fri, Jul 17, 2009 at 4:37 PM, Wolfgang
>
> Jeltsch<g9ks157k at acme.softbase.org> wrote:
> > 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  .
>
> Which would mean, while editing the code I'd have to read comments like
> that :
>
> -- | s lection de l' tat
>
> Which becomes totally unreadable.
>
> :(
Yes, it’s a pity. For me, it’s not such a big problem since I don’t write my
Haddock comments in my native language (German) but in English. I only
experience this problem because I use nice typography, i.e., “ ” – instead
of " " -.
GHC supports UTF-8 input, and Haddock uses GHC nowadays. So, in my opinion,
Haddock should also support UTF-8 input. Do you want to file a feature
request?
Best wishes,
Wolfgang
More information about the Haskell-Cafe
mailing list