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