Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Non viewable chanacters in System.out.println()

 
Barry Brashear
Ranch Hand
Posts: 303
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am putting out a string to the dos screen that has a large gap in the middle. The gap is not spaces. Is there an good way to find out what these characters are?
Thanks.
 
Mani Ram
Ranch Hand
Posts: 1140
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Redirect the output to a file and open that file in some text editor (Textpad or Wordpad. But not Notepad: it doesn't show special characters)
I guess they will be nulls.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic