Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Why it prints '?' as output. What it means?  RSS feed

 
kaarthick Ramamurthy
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


When i execute the program i got '?' as output. Please clarify me.
is '?' the unicode value for 1000.

Thanks in advance.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's a code used by Myanmar. Check it here : http://unicode.org/charts/
You probably don't have the font to display it, so it comes as "?"
 
Peter Chase
Ranch Hand
Posts: 1970
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just to clarify: Java can output Unicode character 1000, no problem. Your terminal software (e.g. Windows command prompt) cannot display it.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!