wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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.
Consider Paul's rocket mass heater.
subject: Non viewable chanacters in System.out.println()
Similar Threads
WA #1.....word association
gifts for a 4 year old girl
null problem
Re entry in IT field, Is it acceptable by the industry?
Minor alignment tweaking of icon on JLabel