aspose file tools*
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 Java 8 in Action this week in the Java 8 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: 39578
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.

Ping & DNS - updated with new look and Ping home screen widget
I agree. Here's the link:
subject: Ascii value of PI
Similar Threads
char primitive default value
Need help with doing a calculation in Java
How to get unicode for a character?