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
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Ascii value of PI" Watch "Ascii value of PI" New topic
Author

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
Marshal

Joined: Mar 22, 2005
Posts: 41604
    
  55
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 - my free Android networking tools app
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Ascii value of PI