[Haddock] [haddock] #20: We don't handle non-ASCII characters in doc comments

haddock haddock at projects.haskell.org
Fri Dec 2 21:18:39 GMT 2011


#20: We don't handle non-ASCII characters in doc comments
-------------------+--------------------------------------------------------
Reporter:  waern   |        Owner:     
    Type:  defect  |       Status:  new
Priority:  major   |    Milestone:     
 Version:          |   Resolution:     
Keywords:          |  
-------------------+--------------------------------------------------------

Comment(by waern):

 Simon,

 I made modifications to the GHC lexer so that Unicode characters are
 preserved in the comments fed to the Haddock lexer. I then tested with a
 simple Unicode comment and I can see that it appears in the documentation
 without getting mangled by the Haddock lexer.

 However I'm assuming by your last comment that something still needs to be
 done in the Haddock lexer for this to work 100%. Do you think we could
 drop compatibility with Alex 2 by now, and if so could you explain what
 needs to be done in the lexer?

-- 
Ticket URL: <http://trac.haskell.org/haddock/ticket/20#comment:11>
haddock <http://www.haskell.org/haddock>
Haddock, The Haskell Documentation Tool


More information about the Haddock mailing list