[GHC] #10762: On Windows, out-of-codepage characters can cause GHC build to fail

GHC ghc-devs at haskell.org
Tue Aug 18 16:48:08 UTC 2015


#10762: On Windows, out-of-codepage characters can cause GHC build to fail
---------------------------------+-----------------------------------------
        Reporter:  snoyberg      |                   Owner:  snoyberg
            Type:  bug           |                  Status:  closed
        Priority:  normal        |               Milestone:
       Component:  Compiler      |                 Version:  7.10.2
      Resolution:  fixed         |                Keywords:
Operating System:  Windows       |            Architecture:  x86_64 (amd64)
 Type of failure:  None/Unknown  |               Test Case:
      Blocked By:                |                Blocking:
 Related Tickets:  #6037         |  Differential Revisions:
---------------------------------+-----------------------------------------

Comment (by snoyberg):

 Thanks Ben for the merges. I had plans for one more potential change:
 setting up some environment variable that is respected by GHC on Windows
 to override the code page for stdout and stderr. Use case: capturing
 output from GHC in a build tool. My questions are:

 1. Any objection to this in principle?
 2. Do you want a new ticket opened for that?
 3. Any thoughts on the environment variable? I was thinking about just
 reusing LANG and checking for a value ending in .UTF-8 so that the same
 code could be used on Windows and non-Windows for setting the environment
 variable.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10762#comment:14>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list