[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

write once run nowhere.



folks,
I am having a very strange problem with java on unix( Sun box )
	When the code  System.out.println("Try this: ü"); gets compiled 
		the output of it is equivalent to System.out.println("Try this: \uFFFD"); 
		instead of System.out.println("Try this: \u00FC");

This code compiles fine on windows using JDK 1.3.
The java version on unix is "1.3.1" and windows is "1.3.1_07". 

I would be interested to hear from anyone who has faced similar problem and knows a workaround apart from a code change.
-Vikrant Verma
(678)351-5306