• Post Reply Bookmark Topic Watch Topic
  • New Topic

Ascii value of PI

 
santhosh.R gowda
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
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • 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.
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!