Manoj Kumar Jain wrote:it prints "?" up to 159, prints space for 160 and after that it prints some symbol.
So I am wondering why its printing "?" for many of the values. do we need to install fonts in my system to get these symbols printed ?
Not sure, but it's unlikely that you'll get the output on a standard console or command line program (although it may be possible in some Unix terminal emulators).
Have you tried displaying via a
Java Swing Component, such as a JTextField? I'm no GUI expert, but I suspect it'd be much more likely to handle "abnormal" characters than a standard 'term'-type display.
Winston