Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6208680

Doc: Clarify issues with toLowerCase/toUpperCase and Turkish

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 5.0
    • core-libs
    • b53
    • generic
    • generic

      Software that uses String.toLowerCase or String.toUpperCase sometimes fails to work when run in a Turkish or Azeri environment, if the case conversion operates on strings that aren't actually in these languages (e.g., they're HTML tags, encoding names, programming language keywords, or similar). The reason is that Turkish and Azeri have dotted and dotless "i"s, and conversion of these characters leads to results that aren't adequate for strings in other languages. A common solution for this issue is to specify an English locale for the methods.

      The issue should be clearly documented in the javadoc for these methods, and the JRE checked for correct usage.
      ###@###.### 2004-12-15 01:43:39 GMT
      Good synopsis of issue can be found at :

      http://java.sys-con.com/node/46241

            peytoia Yuka Kamiya (Inactive)
            nlindenbsunw Norbert Lindenberg (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: