[Haskell-cafe] Encoding of Haskell source files

Max Bolingbroke batterseapower at hotmail.com
Mon Apr 4 14:30:08 CEST 2011


On 4 April 2011 11:34, Daniel Fischer <daniel.is.fischer at googlemail.com> wrote:
> If there's only a single encoding recognised, UTF-8 surely should be the
> one (though perhaps Windows users might disagree, iirc, Windows uses UCS2
> as standard encoding).

Windows APIs use UTF-16, but the encoding of files (which is the
relevant point here) is almost uniformly UTF-8 - though of course you
can find legacy apps making other choices.

Cheers,
Max



More information about the Haskell-Cafe mailing list