This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Java in General and the fly likes Non viewable chanacters in System.out.println() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Non viewable chanacters in System.out.println()" Watch "Non viewable chanacters in System.out.println()" New topic

Non viewable chanacters in System.out.println()

Barry Brashear
Ranch Hand

Joined: Jun 05, 2001
Posts: 303
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?
Mani Ram
Ranch Hand

Joined: Mar 11, 2002
Posts: 1140
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.
I agree. Here's the link:
subject: Non viewable chanacters in System.out.println()
jQuery in Action, 3rd edition