Building GHC 6.12 with GHC 6.12 + alex
marlowsd at gmail.com
Tue Jan 5 04:27:48 EST 2010
On 31/12/2009 20:08, Antoine Latter wrote:
> On Thu, Dec 31, 2009 at 1:47 PM, Simon Marlow<marlowsd at gmail.com> wrote:
>> On 31/12/09 18:35, Antoine Latter wrote:
>>> Further details:
>>> If I patch alex to explicitly set the encoding whenever it reads from
>>> or writes to a file, all of these problems go away. I'm not really
>>> sure why alex needs this and nothing else does, but so it goes.
>>> Is there a separate bug tracker for alex, or should this just be a GHC
>> Thanks for looking into this - yes Alex needs to explicitly use utf8 for
>> reading and writing files. Those of us using a utf-8 locale probably
>> wouldn't have noticed the problem, what's your locale set to?
>> If you can send me the patch, that will save me time figuring it out for
>> myself. Alex doesn't have a bug tracker, but you're welcome to use GHC's if
>> you want.
> I have the following environment variable set:
> But I have no idea what that means. Presumably something other than utf8.
> The alex patch is attached, but I have not tested it on anything other
> than GHC 6.12.
Applied, and I've uploaded Alex 2.3.2 to Hackage.
More information about the Glasgow-haskell-users