[GHC] #14589: The isUpper function should return true for the '\9438' character

GHC ghc-devs at haskell.org
Mon Sep 3 17:46:05 UTC 2018


#14589: The isUpper function should return true for the '\9438' character
-------------------------------------+-------------------------------------
        Reporter:  mrkkrp            |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  libraries/base    |              Version:  8.2.1
      Resolution:                    |             Keywords:  unicode
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by lelf):

 * keywords:   => unicode


Comment:

 > I see how this is a bit unfortunate, but I am sure we should not change
 the semantics of isUpper .

 Why?

 It's broken. ⓞ is lowercase.
 Also it's wrong wrt title-cased ones.

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


More information about the ghc-tickets mailing list