How do I show invisible characters by showing their unicode


#1

(This isn’t a problem, bug, or issue – just me asking for support on how to use atom, so that’s why I chose “features” instead of “support” as this post’s category).

I have a file that I saved (with Notepad), but Haskell’s GHC compiler gives me an error that mentions “character \65279” in the very first character of the first line of my source code. Googling this character tells me that this character is the unicode character ‘ZERO WIDTH NO-BREAK SPACE’ .

In Atom IDE, I pressed Ctrl+Shift+P and selected Window: Toggle Invisibles.

No special symbol appears at the beginning of line one.


Questions:

  1. Is there a way to get Atom to display the invisible character \65279 to me?
  2. Is there a way to get Atom to display, not special symbols, but the unicode number (such as \65279), for the invisible characters?

How do I get Atom to display the Unicode numbers for invisible characters?
#2

No, there currently is no method for having Atom display arbitrary invisibles. You may want to subscribe to this Issue for updates:

There are other related Issues as well. Additionally, you may want to look at the hex package.