[darcs-users] darcs patch: Haddockize literate comments in Darcs.Pa... (and 1 more)

Trent W. Buck trentbuck at gmail.com
Tue Apr 7 03:13:43 UTC 2009


Reinier Lamers <tux_rocker at reinier.de> writes:

> On Monday 06 April 2009 11:03:08 Trent W.Buck wrote:
>> Mon Apr  6 19:01:53 EST 2009  Trent W. Buck <trentbuck at gmail.com>
>>   * 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.

Fair enough.  Apologies for the ill-directed ranting; as you might
imagine, I was quite grumpy at the time :-)



More information about the darcs-users mailing list