[Haskell] non-ASCII characters in Haddock documentation

Ketil Malde ketil+haskell at ii.uib.no
Mon Feb 16 12:51:06 EST 2004


Ross Paterson <ross at soi.city.ac.uk> writes:

>> It shouldn't be too hard to fix this, at least for Latin-1 (full
>> Unicode would be somewhat harder).  I'll add it to the TODO list.

> While Haskell's source charset is specified as Unicode, Haskell source
> files don't specify the byte encoding they use, so any source file using
> non-ASCII characters isn't portable.  

Perhaps one could have an option/pragma to specify source encoding?

> Entrenching Latin-1 would make the move to Unicode more difficult.

Defaulting to Latin-1 may be sensible, though?

-kzm
-- 
If I haven't seen further, it is by standing in the footprints of giants


More information about the Haskell mailing list