Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Wiki Markup
This noncompliant code example uses the locale sensitive {{String.toUpperCase()}} method to convert an htmlHTML tag to uppercase. This produces the string "T?TLE" in the Turkish locale wherein '?' is the Latin capital letter 'I' with a dot above the character \[[API 2006|AA. Bibliography#API 06]\]. 

...

Code Block
bgColor#ccccff
"title".toUpperCase(Locale.ENGLISH);

This advice guideline also applies to the String.equalsIgnoreCase() method.

...