JDK-4519026 : (process) Process should support Unicode on Windows
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.lang
  • Affected Version: 1.4.0,1.4.2
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • OS: windows_nt,windows_2000
  • CPU: generic,x86
  • Submitted: 2001-10-24
  • Updated: 2017-08-09
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
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