| 
 Duplicate :   
 | 
Name: rmT116609			Date: 05/22/2003
FULL PRODUCT VERSION :
java version "1.4.2-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-beta-b19)
Java HotSpot(TM) Client VM (build 1.4.2-beta-b19, mixed mode)
FULL OS VERSION :
Linux wwA 2.4.18-27.8.0 i686
Linux ww1 2.4.7-10 i686
A DESCRIPTION OF THE PROBLEM :
System.out.println(" �� [ae] ") results in
�� [ae]   if system uses encoding utf8 no matter of file.encoding and
? [ae]   on system with iso-8859-1 encoding
with version 1.4.1 it does well..
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
System.out.println(" �� [ae] ");
1) run with java 1.4.1 with -Dfile.encoding=ISO-8859-1
2) run with java 1.4.1 with -Dfile.encoding=UTF-8
3) run with java 1.4.2beta with -Dfile.encoding=ISO-8859-1
4) run with java 1.4.2beta with -Dfile.encoding=UTF-8
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
if system terminal is utf8
1) ? [ae]
2) �� [ae]
3) ? [ae]
4) �� [ae]
if system terminal is iso-8859-1
1) �� [ae]
2) ? [ae]
3) �� [ae]
4) ? [ae]
ACTUAL -
if system terminal is utf8
1) ? [ae]
2) �� [ae]
3) �� [ae]
4) �� [ae]
if system terminal is iso-8859-1
1) �� [ae]
2) ? [ae]
3) ? [ae]
4) ? [ae]
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
public class Test {
public static void main(String[] args)
{
  System.out.println(" �� [ae]");
}
}
---------- END SOURCE ----------
(Review ID: 186102) 
======================================================================