Turns out it was the LANG var issue
Hi guys,I am trying to use some special characters on a redhat system but the output I am getting is wrong.Ideally, the output should be (This is from the same script on a windows machine):<snip>224: à 225: á 226: â 227: ã 228: ä 229: å 230: æ</snip>However, this is what am getting:<snip>224: à 225: á 226: â 227: ã</snip>This is the small test.java script am using:public class test{public static void main(String args[]){for(int i=200; i<=300;i++){System.out.print(i + ":\t" + (char)i +" ");}}}Redhat version - RHEL5.2Linux <hostname> 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:15 EDT 2008 x86_64 x86_64 x86_64 GNU/Linuxjava version "1.6.0_31"Java(TM) SE Runtime Environment (build 1.6.0_31-b04)Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01, mixed mode)