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

Please allow \uxxxx unicode-escaping on the jvm command-line arguments

    Details

      Description

      Enhancement request from a customer. See bugdb for more details on
      justification

      When launching a Java Application under Windows using the Tanuki Wrapper, it
      is impossible to properly send Unicode Characters to the command-line,
      perhaps at all, perhaps without tightly restricting the System Encoding
      configuration. It would really help, if we could Unicode-escape \uXXXX
      characters on the command-line and then add a JVM argument to indicate this
      was done. This would allow passing any Unicode character, even if only ASCII
      is available on the command-line.

      It appears that the Tanuki codebase uses the proper Win32 Unicode magic.

      It appears that the JVM command-line arguments under Windows are parsed in
      hotspot.src.os.windows.launcher.java_md.c and that it would be simple to
      pre-parse the command-line to handle Unicode in this way.

      This a request for Enhancement (RFE)?

      The IBM JVM has this feature but HotSpot does Not. See

      http://publib.boulder.ibm.com/infocenter/javasdk/v5r0/index.jsp?topic=%2Fcom.ibm.java.doc.user.aix64.50%2Fuser%2Fglobalization.html

      for Example.

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ksrini Kumar Srinivasan
                Reporter:
                asaha Abhijit Saha
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated: