non-printing-characters
printable char in java
It seems this was the “Font” independent way. public boolean isPrintableChar( char c ) { Character.UnicodeBlock block = Character.UnicodeBlock.of( c ); return (!Character.isISOControl(c)) && c != KeyEvent.CHAR_UNDEFINED && block != null && block != Character.UnicodeBlock.SPECIALS; }
Invisible Delimiter for Strings in HTML
‌ – zero-width non-joiner (see http://htmlhelp.org/reference/html40/entities/special.html) On the off chance that this already appears in your text, double it up (eg: ‌‌mytext‌‌ Edit in response to comment: works in Firefox 3. Note that you have to search for the Unicode value of the entity. <html> <body> <div id=”test”> This is a ‌test </div> <script type=”application/javascript”> … Read more
Show whitespace characters in Visual Studio Code
VS Code 1.6.0 and Greater As mentioned by aloisdg below, editor.renderWhitespace is now an enum taking either none, boundary or all. To view all whitespaces: “editor.renderWhitespace”: “all”, Before VS Code 1.6.0 Before 1.6.0, you had to set editor.renderWhitespace to true: “editor.renderWhitespace”: true