United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-4519026 : (process) Process should support Unicode on Win NT

Details
Type:
Bug
Submit Date:
2001-10-24
Status:
Open
Updated Date:
2013-11-18
Project Name:
JDK
Resolved Date:
Component:
core-libs
OS:
windows_nt,windows_2000
Sub-Component:
java.lang
CPU:
generic,x86
Priority:
P4
Resolution:
Unresolved
Affected Versions:
1.4.0,1.4.2
Targeted Versions:

Related Reports
Relates:
Relates:
Relates:
Relates:

Sub Tasks

Description
java.lang.Process should support Unicode in command lines on NT

                                    

Comments
EVALUATION

 To be fixed.

-----------------------------------------
On Windows, all APIs should be changed to use the
Unicode "W" API instead of the old "A" API.
This change will be a large one, and will need to be done
gradually.


The implementation of environment variables will use the
Unicode compliant API
GetEnvironmentVariablesW
and will use the CREATE_UNICODE_ENVIRONMENT
flag to CreateProcess.

For complete Unicode process happiness, we need to:
- use CreateProcessW, (but that
  will require a Unicode version of other C functions like JVM_NativePath)
- use wmain instead of main to start the Java process itself.

This way Java will both accept and provide process parameters 
like arguments, environment, and directory in Unicode.

The introduction of the MSLU (Microsoft Layers for Unicode) should
allow us to use Unicode support transparently even on Win98.

###@###.### 2003-08-18
                                     
2003-08-18



Hardware and Software, Engineered to Work Together