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

Doc: Clarify issues with toLowerCase/toUpperCase and Turkish

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 6
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b53
    • CPU:
      generic
    • OS:
      generic

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: