[Haskell-cafe] Encoding of Haskell source files
Roel van Dijk
vandijk.roel at gmail.com
Mon Apr 4 11:50:03 CEST 2011
2011/4/4 Colin Adams <colinpauladams at googlemail.com>:
> Not from looking with your eyes perhaps. Does that matter? Your text editor,
> and the compiler, can surely figure it out for themselves.
I am not aware of any algorithm that can reliably infer the character
encoding used by just looking at the raw data. Why would people bother
with stuff like <?xml version="1.0" encoding="UTF-8"?> if
automatically figuring out the encoding was easy?
> There aren't many Unicode encoding formats
More information about the Haskell-Cafe
mailing list