• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Not receiving the ASCII character value for GREEK characters

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I didn't think that ASCII had any greek characters. Don't you mean UNICODE instead of ASCII?
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic