I have a string that has been giving some of my code fits of rage and its got "extra" characters in it that I only stumbled upon by using the arrow keys to go through it. I noticed that the cursor stayed in place in certain areas for an extra keystroke of the arrow key. Using View >Show Symbols > Show All Characters still didnt seem to indicate anything there. What kind of character could be there and is there a plugin for it?
Pressing " Ctrl+Shift+W " (or the assigned keyboard shortcut) will now invoke the " View | Editor | Hidden Characters " main menu option.
To insert an ASCII character, press and hold down ALT while typing the character code. For example, to insert the degree (º) symbol, press and hold down ALT while typing 0176 on the numeric keypad. You must use the numeric keypad to type the numbers, and not the keyboard.
Notepad can manage text encoded in several formats such as ANSI, Unicode and UTF-8. Find these options by clicking the "Encoding" button on Notepad's Save As window. After creating or updating text in a document, you can select one of these encoding options in which to save the file.
In Notepad++, if you go to menu Search → Find characters in range → Non-ASCII Characters (128-255) you can then step through the document to each non-ASCII character. Be sure to tick off "Wrap around" if you want to loop in the document for all non-ASCII characters.
If you really want to get a raw look, check out the HEX-Editor Plugin (Check the Plugin Manager for it). You'll see the character codes for everything; even non-printable characters.
I use it, and have no issues on the newer versions of Notepad++.
The simplest way is to use the menu:
View->Show Symbol->Show all characters
It will show Tabs and EOL characters.
Here is an example of a VBS script that announces the current hour being viewed in Notepad++ on Win7.
Note that it is clear I used spaces to do the indents - not Tabs.
This is the base script I used in the Q&A about how to make Windows announce the time at the top of each hour:
https://superuser.com/questions/1268702/how-to-make-windows-speak-the-time-at-the-top-of-the-hour/1268703#1268703
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With