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

Unicode characters don't display properly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 1.2.2
    • core-libs
    • None

      The following snippet of code:

      --- code begins ---

      class Foo
      {
        public static void main(String[] args)
        {
          System.out.println(new String("\u00EA\u00E9"));
        }
      }

      --- code ends ---

      produces the following output under JDK 1.2.1 on Solaris:

      ??

      It should be e with an acute accent followed by another e with a circumflex accent (as per Unicode 2.1).

      The characters are also displayed incorrectly on Win32.

            nlindenbsunw Norbert Lindenberg (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: