Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Not receiving the ASCII character value for GREEK characters

 
rudhras
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi here is a strange issue faced during display of greek characters::

We are running the following java code snippet

for (int i=0;i<256;i++) {
System.out.println("ASCII Character Value ::"+(char)i);
}

when we are running the above code in unix prompt of solaris environment we are able to see the correct GREEK characters for the ASCII value 194,195,196,197 ....

But when we run the same program in WAS of same solaris environment we are receiving the output as Question Marks for the ASCII value 194,195,196,197 ....

Can any one help us why we are receiving the Question marks when we run the above code in WAS instance.

We are using the WAS version 4.0.6 in solaris environment 5.8 .

Please let me know if there is any setting that I have to set in WAS.

Thanks in Advance,
Rudhra
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
rudhras,

Welcome back to JavaRanch!

We ain't got many rules 'round these parts, but we do got one. Please change your display name to comply with The JavaRanch Naming Policy.

Thanks Pardner! Hope to see you 'round the Ranch!
[ May 31, 2004: Message edited by: Dirk Schreckmann ]
 
Christopher Arthur
Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I didn't think that ASCII had any greek characters. Don't you mean UNICODE instead of ASCII?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic