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

Search & Replace fail in TextComponent widget of 8-bit iso8859-1 chars

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1 P1
    • 1.1
    • 1.1
    • client-libs
    • 1.1fcs
    • sparc
    • solaris_2.5
    • Not verified

      TextComponent widget search does not encounter a match on 8-bit characters
      when searching with getText().indexOf() method. Works fine for 7-bit chars.

      My test case:
      I ran a search searching for a-umlaut, replacing with o-umlaut and vice versa.
      The search never found a-umlaut nor o-umlaut although there were a number of
      these characters in the textarea widget placed there upon startup.

      I am running in a Solaris 2.5 environment using French locale on SparcStation 2
      with USA keyboard. Using JDK1.1 Beta that came available on Monday 9 dec.

      Please see sample program ~gingerf/test/java/panel/textarea4.java

            nishimur Naoyuki Ishimura (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: