my dog learned polymorphism
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
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Non viewable chanacters in System.out.println()
It's not a secret anymore!