[GHC] #10623: Handling of ASCII encodings introduced in D898 breaks Unicode terminal detection

GHC ghc-devs at haskell.org
Mon Jul 20 23:27:55 UTC 2015


#10623: Handling of ASCII encodings introduced in D898 breaks Unicode terminal
detection
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  high              |               Milestone:  7.10.2
       Component:  Compiler          |                 Version:  7.10.2-rc2
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |               Test Case:  T8958a
      Blocked By:                    |                Blocking:
 Related Tickets:  #10298, #7695     |  Differential Revisions:
                                     |  Phab:D1059, Phab:D1085
-------------------------------------+-------------------------------------
Changes (by rwbarton):

 * status:  closed => new
 * priority:  normal => high
 * differential:  Phab:1059 => Phab:D1059, Phab:D1085
 * resolution:  fixed =>
 * milestone:   => 7.10.2


Comment:

 I realized that at least hsyl20 and perhaps others actually intend to run
 their programs in the (what I would consider to be broken) setting of a
 chroot without a working iconv installation. In that case we really
 shouldn't use `char8` when asked for an ASCII locale. If the programmer
 wants `char8` they can use it explicitly. I implemented an ASCII encoding
 in Phab:D1085.

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


More information about the ghc-tickets mailing list