dcsimg
Displaying ANSI ( Not ASCII) characters..
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Jitendra_Mehta
Posted On:   Thursday, January 2, 2003 01:53 PM

I need to display char value of int 134. When I do this,

int i = 134;

char c = (char)i;

System.out.println( c );



I get '?' as output. Values beteen 1-127 works fine. Is there any way I could show values from 128 onwards?

I am using JDK1.3.1, NT and Eclipse as IDE.

Thanks in advance for your help.

Regards.

Re: Displaying ANSI ( Not ASCII) characters..

Posted By:   Anonymous  
Posted On:   Thursday, January 9, 2003 03:28 AM

hello there!!

after casting from int to char, you need to test you output on java components like canvas...Dos does display display all international characters. Use the unicode based components like java components...Canvas
About | Sitemap | Contact