EqualsIgnoreCase() not working as intended.
问题 When i run the following program it prints only equals says they are equal However From equalsIgnoreCase docs in java 8 we have : Two characters c1 and c2 are considered the same ignoring case if at least one of the following is true: • Applying the method java.lang.Character.toUpperCase(char) to each character produces the same result public class Test { public static void main(String[] args) { String string1 = "abc\u00DF"; String string2 = string1.toUpperCase(); if (string1.equalsIgnoreCase