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

In DOS prompt java prints in iso-8859-2 not CP-852 in poli

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P5 P5
    • None
    • 1.1
    • core-libs

      Name: mc57594 Date: 03/13/97


      Unicode text printed with System.out.println in application run
      with java prints text using iso-8859-2 charset not CP-852 used by
      Command Prompt in Windows.

      company - , email - ###@###.###
      ======================================================================

      One of our licensees has this to add....

      The problem I am encountering is that the java environment has the
      encoding (file.encoding systems property) to be 8859_1. The DOS
      console thinks it is Cp850.
      When the tool prints the UNICODE character \u00D6, the java environment
      converts it to code point D6 in the 8859_1 codepage. When it is
      displayed on the DOS console, it is an the D6 codepoint of the 850 table.
      I checked the javasoft "bugParade" finding two relevant
      bugs , 4038677 and 4080134. 4038677 is my exact problem except that
      this person encountered it using 8859_2 and Cp852. Neither of the bug
      reports offer work around or have any reply from javasoft.
      This is a big problem for me.

      - mick.fleming

            Unassigned Unassigned
            mchamnessunw Mark Chamness (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: