It would be a nice enhancement to do so automatically (rather than on-click), but at least for me, this serves the purpose.
Show HN: I made a Chrome extension to reveal zero-width characters
71–80 of 99 posts
Re: Show HN: I made a Chrome extension to reveal zero-width characters
#72Does anyone remember how many years of pain were caused by different line endings -- "\n" vs. "\r" vs. "\r\n"? Unicode is 10x that, and the pain is just beginning.
Re: Show HN: I made a Chrome extension to reveal zero-width characters
#73It might make more sense as a clipboard filter. If you're an English speaker that doesn't often handle languages which gain from zero width characters you could just have a listener scan your clipboard for zero-width characters, silently strip them, and then re-populate the clipboard. Although I've been thinking about building a clipboard filter for Windows a lot lately, I'm getting tired of copying text to the addre…
Re: Show HN: I made a Chrome extension to reveal zero-width characters
#74Anything like this for VSCode? Just adding option-space accidentally in a ruby file (after an `end`) will cause ruby to explode and not tell you anything. Randomly deleting code until it runs was my only fix.
There is an extension called Highlight Bad Chars. I installed it after reading this
Re: Show HN: I made a Chrome extension to reveal zero-width characters
#75Re: Show HN: I made a Chrome extension to reveal zero-width characters
#76What about Firefox?
Apply an autoload rule with these settings:
Name: zero length replacement
HTML: Output only
URL:
Replace: (\uFEFF|\u200B|\u200C)
Type: Regular expression
With: 😳Re: Show HN: I made a Chrome extension to reveal zero-width characters
#77firefox ?
Apply an autoload rule with these settings:
Name: zero length replacement
HTML: Output only
URL:
Replace: (\uFEFF|\u200B|\u200C)
Type: Regular expression
With: 😳Re: Show HN: I made a Chrome extension to reveal zero-width characters
#78Re: Show HN: I made a Chrome extension to reveal zero-width characters
#79I agree with other users who said that it would be nice if this happened automatically instead of on click--I think after the initial novelty wore off, I'd probably forget to click it. It might be cleaner to just strip the non-printing characters and display a number of characters stripped, similar to how ad blockers display the number of ads blocked.
I like the adblock analogy, might work on it, thanks.
Re: Show HN: I made a Chrome extension to reveal zero-width characters
#80Earlier quoted context omitted.
what is cat-v.org? (Obviously I visited that link, read the about page - I'm asking for your summary. it's still not clear to me after my initial visit.)
Nostalgic Unix nerds hating on everything that (i) was not in original Unix, or (ii) in Plan9, or (iii) not implemented by authors of these.