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

s10_35 & s9u5_01: en_US.UTF-8: Java: Cyrillic & Greek text doesn't look right

XMLWordPrintable

    • 2d
    • b36
    • generic, sparc
    • generic, solaris_9, solaris_10


      Build: s10_35 & s9u5_01
      Locales: all UTF-8s based on en_US.UTF-8
      Platform: generic
      Install: combined
      Cluster: entire

      ###@###.### 2003-06-03

      Cyrillic & Greek text do not look to be appearing correctly in java applications in Solaris UTF-8 locales, the text is too spaced out and most (not all) Greek characters are appearing in italics. Greek text looks ok when logged into el_GR.ISO8859-7 and Cyrillic looks ok when logged into ru_RU.ISO8859-5.

      I have attached a number of screenshots:
      java_txt_en_US.UTF-8.jpeg - A screenshot of the problem from en_US.UTF-8 locale
      java_txt_el_GR.ISO8859-7.jpeg - A screenshot of Greek text in el_GR.ISO8859-7 locale, the spacing is much closer and the text is in italics
      java_txt_ru_RU.ISO8859-5.jpeg - A screenshot of Cyrillic text in ru_RU.ISO8859-5 locale, the spacing is much closer.

      The java test application and a UTF-8 text file that I pasted into the application are also attached: TextWindow.java & java_txt_en_US.UTF-8.txt

      To reproduce this bug:
      ======================
      1. Login to en_US.UTF-8.
      2. Compile and run the attached java application ( javac TextWindow.java; java TextWindow;)
      3. Open the attached java_txt_en_US.UTF-8.txt file and paste the text into the bottom text area. To change the text inside the buttons etc. click "Send Text".
      You will see that the Cyrillic & Greek text is too spaced out and most (not all) Greek characters are appearing in italics.

      Chris Toal

      ==============================================================================

            prr Philip Race
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: