This is a plugin for Sublime Text 3 that highlights non-ascii chars making eg. spotting zero width spaces much easier.
Clone or download
Permalink
Failed to load latest commit information.
HighlightDodgyChars.py Fixes #2 encoding problem Aug 13, 2018
HighlightDodgyChars.sublime-settings
Main.sublime-menu Fix default settings path Dec 18, 2015
examples.txt
readme.md Windows compatible regex for ascii characters. Fixes #1 The whitelist… Dec 18, 2015
screen-shot.png Update screen shot Aug 13, 2018

readme.md

Highlight non-ascii characters in Sublime Text 3

This plugin highlights non-ascii characters excluding whitelisted characters. It makes control characters, zero width spaces, full width colons and other dangerous characters that might break your code visible.

The plugin highlights bad characters in the editor

By default the European special characters are whitelisted. The whitelisted characters can be edited in the settings.

Sublime Text > Preferences > Package Settings > Highlight Dodgy Chars > Settings - User

Installing

The easiest way to install this plugin is with the Package Control plugin If you don't have Package Control installed, you can find instructions here: https://packagecontrol.io/installation

Once you've installed Package Control, restart Sublime and open the Command Palette (Command+Shift+p on OS X, Control+Shift+p on Linux/Windows). Type/select "Package Control: Install Package", wait while Package Control fetches the latest package list, then type/select Highlight Dodgy Chars when the list appears.