-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
1.2.0
-
generic
-
generic
Name: tb29552 Date: 06/15/99
I change the default encoding :
java -Dfile.encoding=Big5 myclass
But it has no effect on InputStreamReader()
For example,
System.out.println(System.getProperty("file.encoding"));
InputStreamReader in=new InputStreamReader(System.in);
System.out.println(in.getEncoding());
It prints out:
Big5
MS950
my version is:
java version "1.2"
HotSpot VM (1.0fcs, mixed mode, build E)
(Review ID: 84171)
======================================================================
- duplicates
-
JDK-4165411 java.lang.System: Forbid the modification of read-only system properties
-
- Open
-
- relates to
-
JDK-4175635 (cs) Default file encoding not specified
-
- Resolved
-