aspose file tools*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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()