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

John Meacham john at repetae.net
Sat Jul 10 18:56:32 EDT 2010

On Sat, Jul 10, 2010 at 05:38:02PM -0400, wren ng thornton wrote:
> 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.

Console IO should use the multibyte encoding, which is different than
the wide encoding used in some places. Hmm.. on my OSX system the standard
multibyte coding appears to be utf8. 

when you type 'locale' what shows up for LC_CTYPE? mine is en_US.UTF-8,
if you set it to a utf8 locale, does jhc work properly?


John Meacham - ⑆repetae.net⑆john⑈ - http://notanumber.net/

More information about the Haskell-Cafe mailing list