This week's book giveaway is in the Security forum.
We're giving away four copies of Securing DevOps and have Julien Vehent on-line!
See this thread for details.
Win a copy of Securing DevOps this week in the Security forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Ascii value of PI  RSS feed

 
Ranch Hand
Posts: 296
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi friends

As we know java supports unicode for charectors the unicode value of Pi in greek is 03c0 but when im trying to print that value its getting ..?


Please tell me how to print symbol of pi
 
Rancher
Posts: 42975
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where are you printing this? Most terminals/consoles do not support much (or anything) beyond ASCII. Try writing into a file (be sure to choose UTF-8 as encoding), and view it in a Unicode-capable text editor.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!