• Post Reply Bookmark Topic Watch Topic
  • New Topic

Displaying special character ↓  RSS feed

 
kapil Gupta
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
How can I display special characters like ↓ (down arrow) which are in extended set (above 255) using System.out? It displays ? instead of the character.
Thanks,
Kapil
 
Baiju Varugese
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please refer Java Form
 
kapil Gupta
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, but I still haven't got the idea to display characters from extended set.
 
Matthew Taylor
Rancher
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is is just me, or are those gurus on the Sun Java forums always really rude?
 
Norm Radder
Rancher
Posts: 2240
28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you read the doc for System.out?
What is it?
It's a PrintStream object.
What does a PrintStream output?
It outputs bytes.

When having problems with a method or class, read the doc. It can explain what is happening.
 
Marilyn de Queiroz
Sheriff
Posts: 9082
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think the answer is that you can't. Even if you could finagle something to make it work on your particular system, it wouldn't work on a different system.
[ August 19, 2005: Message edited by: Marilyn de Queiroz ]
 
Derek Clegg
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Peter Glass:
Is is just me, or are those gurus on the Sun Java forums always really rude?


Yeah they are, thats why i moved over to the ranch.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!