JDK-4094370 : System streams should use GetConsoleCP and converter
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.nio.charsets
  • Affected Version: 1.1.4
  • Priority: P5
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_95
  • CPU: x86
  • Submitted: 1997-11-20
  • Updated: 1999-04-13
  • Resolved: 1999-04-13
Related Reports
Duplicate :  
Description

Name: rm29839			Date: 11/20/97


System.in, System.out and System.err
under Win32 currently use the default
CharToByte/ByteToChar converter, they
should use Win32 GetConsoleCP and/or
GetConsoleOutputCP to determine which
converter to use. (Unless you are
going to provide System readers and
writers, in which case put the
conversions there).
(Review ID: 20236)
======================================================================

Comments
EVALUATION The systems streams work as designed. The VM should make sure that the proper code page is selected as the default encoding (possibly via the GetConsoleCP API). brian.beck@Eng 1998-03-13
13-03-1998