V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
e583409
V2EX  ›  Java

İnflammation equalsIgnoreCase Inflammation 为什么相等呢?

  •  
  •   e583409 · Mar 4, 2021 · 1316 views
    This topic created in 1879 days ago, the information mentioned may be changed or developed.
    İnflammation
    Inflammation
    inflammation
    这三个字符串第一个字符 明显不一样 我跟踪了一下代码 发现
    İ 经过 Character.toLowerCase(u1)后就和 I 进过 Character.toLowerCase(u1)一样了,为什么啊?
    3 replies    2021-03-12 21:19:12 +08:00
    e583409
        1
    e583409  
    OP
       Mar 11, 2021
    技术帖子不活跃吗
    LGA1150
        2
    LGA1150  
       Mar 12, 2021
    İ 是突厥语族的大写 i,所以 equalsIgnoreCase 相等没毛病
    e583409
        3
    e583409  
    OP
       Mar 12, 2021
    @LGA1150 İ 是突厥语族的大写 i 这么偏门的语法你都懂 你是怎么知道的呢?遇到这个问题 该怎么去分析判断呢?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   844 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 21:22 · PVG 05:22 · LAX 14:22 · JFK 17:22
    ♥ Do have faith in what you're doing.