Help urgent plz...

Hello,

Java has a character set of 128 char, What to do to display character having ASCII less then 33 & greater that 127?

Because I want to display character from ASCII 1 to any value.

Actully in Java it is like this 1-32 no ASCII for any character 127 & above it no ASCII.

So if I want to get the ASCII in thease range what to do?

Currently I'm getting the ASCII value '?'.

Please help me...

[447 byte] By [Cool-Buddya] at [2007-10-2 22:35:22]
# 1

ok, first: why in the world do you need ASCII below 33 and over 127? In unsigned char below 33 are control and function keys. The problem with chars over 127, well, in java no variable is unsigned, so the char variable has a range of -128 to 127.

and second. In java a char is also a 2 byte long UNICODE(think it was UTF16, but I'm not sure)-symbol, so don't try to stick with the old ASCII-tactic. Every displayable symbol (letters, digits, special symbols like @) of ASCII has an aquivalent in UNICODE

Jungi-Xa at 2007-7-14 1:52:40 > top of Java-index,Desktop,Developing for the Desktop...
# 2
This is most likely a problem with the font you use to display the characters not having a glyph for the (uni)code you are trying to display.BTW, as you can see from my hasty response, using a subject like "Help urgent plz..." guarantees almost instant results.
Herko_ter_Horsta at 2007-7-14 1:52:40 > top of Java-index,Desktop,Developing for the Desktop...