wood burning stoves 2.0
The moose likes Beginning Java and the fly likes Ascii value of PI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Ascii value of PI" Watch "Ascii value of PI" New topic

Ascii value of PI

santhosh.R gowda
Ranch Hand

Joined: Apr 06, 2009
Posts: 296
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

Creativity is nothing but Breaking Rules
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42954
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.
I agree. Here's the link: http://aspose.com/file-tools
subject: Ascii value of PI