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

The message become Chinese with error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.3.0
    • globalization



      Name: boT120536 Date: 03/07/2001


      java version "1.3.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
      Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)

      When I compile any java program by java compiler, the error message
      is in Chinese. Also the Chinese is not corrected coded, although I
      am a Hong Kong people, I cannot understand the Chinese message with
      incorrect code.

      I am using Chinese Windows, but I am used to the English message.
      The message is in English when I used jdk1.2.2. However the message
      becomes Chinese when I use jdk1.3. I have not chosen any option
      related to Language setting during downloading.

      I have following request:
      1) It will be prefer if I can choose the language when I download the program.
      2) If 1) can not be done, please turn the message back to English, the Chinese
         translation is too hard to be understood.
      3) If nither 1) nor 2) can be done, please correct the incorrect coding of Chinese.

      <SAMPLE OUTPUT>
      Game.java:53: ???????R???
      ????G??q dept
      ???m?G? in Game
      ResultSet rs = stmt.executeQuery("select POLICY_NAME
      from POLICY_DEPT where DEPT_NAME = '"+dept+"'");
                                                                                      
                                         ^
      Game.java:57: ???????R???
      ????G? Policy
      ???m?G? in Game
      policy_list.add(new
      Policy(con,rs.getString("POLICY_NAME"),dept));
                                                          ^
      Game.java:57: ???????R???
      ????G??q dept
      ???m?G? in Game
      policy_list.add(new
      Policy(con,rs.getString("POLICY_NAME"),dept));
                                                                                      
                 ^
      Game.java:84: ???????R???
      ????G? Policy
      ???m?G? in Game

      out.println("<TD>"+((Policy)policy_list.elementAt(i)).getname()+"</TD>");
                                                           ^
      Game.java:85: ???????R???
      ????G? Policy
      ???m?G? in Game

      out.println("<TD>"+((Policy)policy_list.elementAt(i)).getfile()+"</TD>");
                                                           ^
      Game.java:86: ???????R???
      ????G? Policy
      ???m?G? in Game

      out.println("<TD>"+((Policy)policy_list.elementAt(i)).getdesc()+"</TD>");
                                                           ^
      6 ???
      Normal Termination
      Output completed (13 sec consumed).
      (Review ID: 117605)
      ======================================================================

            khongsunw Karl Hong (Inactive)
            bonealsunw Bret O'neal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: