Index
Reveal Non-Printing Characters
Have you ever copied something to the clipboard and thought you knew what was there, only to realize that there may be characters that you cannot "see"?
Or, perhaps you're working with a regular expression and the contents of the string you're working with doesn't seem to match the pattern?
This example script is designed to work in SecureCRT such that non-printing characters that aren't otherwise easily seen/detected can be revealed. A Python example and a VBScript example are provided for download.
Here's an example of the script in action, working on the clipboard text which contains double-quotes, Line Feed (ASCII Dec 10) and Carriage Return (ASCII Dec 13) non-printing characters.
Example Scripts
RevealNonPrintingCharacters.vbs.txt (3.2 KB)
RevealNonPrintingCharacters.py.txt (3.6 KB)