I’m sure this feature has been around since the 1990s. (Clicking this brings up a dialog box for finding and deleting useless characters.) But it’s one more reason to love the premier OS X text editor, BBEdit.
And there’s zapgremlins.com—apparently a lavish tribute to this menu item.