...
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 | ||
---|---|---|
| ||
"title".toUpperCase(Locale.ENGLISH); |
This advice guideline also applies to the String.equalsIgnoreCase()
method.
...