How to eliminate invisible characters in BBEdit file: invisible upsidedown red question marks?

1,396 views
Skip to first unread message

johnGalt

unread,
Dec 18, 2016, 9:50:10 PM12/18/16
to BBEdit Talk

See attached file file. The upside down red question marks are invisible characters. What characters are they and how can I remove them?

Christopher Stone

unread,
Dec 18, 2016, 10:40:39 PM12/18/16
to BBEdit-Talk
On Dec 18, 2016, at 16:53, johnGalt <are...@gmail.com> wrote:
See attached file file. The upside down red question marks are invisible characters. What characters are they … 


Hey John,

Gremlins!  :)

and how can I remove them?

Select one of them.

Then open the Character Inspector:

Window > Palettes > Character Inspector

Find/Replace.

Hexadecimal character code nn (for example, \x0d for cr):

\x0D

Any number of hexadecimal characters NN... (for example, \x{0} will match a null, \x{304F}
will match a Japanese Unicode character)

\x{000D}

Repeat as needed.

Sometimes you can get useful results by turning grep on in the find dialog, closing it, selecting the desired character, and hitting Cmd-E – then looking at the result in the find dialog.

You can also use the Zap Gremlins dialog, but this doesn't always produce optimal results.

--
Best Regards,
Chris

Reply all
Reply to author
Forward
0 new messages