Hi all, On Monday 06 April 2009 11:03:08 Trent W.Buck wrote: > Mon Apr 6 19:01:53 EST 2009 Trent W. Buck <[email protected]> > * Haddockize literate comments in Darcs.Patch.Properties. > I converted some LaTeX math to the corresponding Unicode characters, > but it seems that Haddock 2.4 is back in the 70s: it converts high-bit > bytes to control characters and similar gibberish. Hopefully cases > like this will encourage the Haddock codebase to get up to speed on > the whole internationalization scene.
As I have stated before in mail and IRC discussions: it is not haddock or darcs that is stuck in the seventies, it is our nourishing mother GHC that is stuck in the seventies (or more like the nineties, actually). A Haskell Char is supposed to be a Unicode code point, but hGetStr returns Char's that have the input's bytes as their numeric value. Effectively, it interprets anything you feed it as Latin-1. Numerous discussions have raged on haskell-cafe, but people couldn't agree on how the problem should be solved, so no solution was created at all. But it seems there is hope now with the developer releases of Data.Text. I'd love to port darcs' text I/O with the terminal and config files over to that :-) Regards, Reinier, babbling about his pet peeve
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
