[Haskell-cafe] Re: [Haskell] ANNOUNCE: jhc 0.7.4

wren ng thornton wren at freegeek.org
Sat Jul 10 17:38:02 EDT 2010


John Meacham wrote:
> On Sat, Jul 10, 2010 at 04:01:53PM -0500, Antoine Latter wrote:
>> * running DrIFT on src/E/TypeCheck.hs fails with an illegal
>> bytesequence in hGetContents. I'm guessing that this is only an issue
>> when building DrIFT with GHC 6.12+, and that the file contains bytes
>> illegal in UTF8. I deleted everything funny looking in the file and
>> then it went smooth
> 
> Hi, are you compiling from the tarball or the darcs repository? the
> tarball shouldn't require DrIFT to be installed. I had not tested DrIFT
> with 6.12 but that file should be in UTF8. Hmm... on OSX, is the default
> locale a UTF8 one? does ghc 6.12 properly encode to/from utf8 on it by
> defualt? could you check, I don't have a mac handy.

Generally OSX takes UTF16 to be the standard encoding (I don't recall if 
it's LE or BE), though UTF8 is supported almost everywhere. I haven't 
checked to see whether that would affect this particular task though.

-- 
Live well,
~wren


More information about the Haskell-Cafe mailing list