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

Re: write once run nowhere.



On Thursday 24 July 2003 20:24, Vikrant.Verma@alltel.com wrote:
> 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

I am not a Sun guru, but the last time I looked there were several patches for 
Solaris that had something to do with UTF-8 character set implementation. 
Could this be an issue?

-ronc
-- 
  8:58pm  up 11 days 11:03,  4 users,  load average: 0.09, 0.33, 0.68