[Haskell-cafe] Type system madness

Albert Y. C. Lai trebla at vex.net
Wed Jul 11 12:40:48 EDT 2007

Paul Moore wrote:
> On 10/07/07, Andrew Coppin <andrewcoppin at btinternet.com> wrote:
>> Interesting... I tried to put a pound sign on my web page, and it came
>> out garbled, so I had to replace it with "&pound;"...
> You may need to specify a "content encoding" in the HTML header. For
> that, you need to know the encoding your HTML file is saved in.
> Unicode works fine, but encodings can be a bit of a minefield...

Lest I am painted as unhelpful(*), http://www.vex.net/~trebla/u.html 
exemplifies what can be done and how to do it. In particular, you must 
always specify a content encoding in the HTML header, and you must 
always order your editor to write out UTF-8.

(*) Whatever happened to the good old spirit of just saying "RTFM"?

More information about the Haskell-Cafe mailing list