• 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

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?
 
Won't you be my neighbor? - Fred Rogers. tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic