aspose file tools*
The moose likes Other JSE/JEE APIs and the fly likes Not receiving the ASCII character value for GREEK characters Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Not receiving the ASCII character value for GREEK characters" Watch "Not receiving the ASCII character value for GREEK characters" New topic
Author

Not receiving the ASCII character value for GREEK characters

rudhras
Greenhorn

Joined: Feb 26, 2001
Posts: 10
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

Joined: Dec 10, 2001
Posts: 7023
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 ]

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Christopher Arthur
Ranch Hand

Joined: Mar 09, 2004
Posts: 149
I didn't think that ASCII had any greek characters. Don't you mean UNICODE instead of ASCII?
 
Don't get me started about those stupid light bulbs.
 
subject: Not receiving the ASCII character value for GREEK characters