Two strings that look the same and are not: finding the character you cannot see
A login fails for one user. A lookup in a spreadsheet returns nothing for a name that is plainly in the list. A config value that looks right is rejected. Very often the cause is a character that draws nothing on screen. Text copied from a web page, a PDF, a chat app or a word processor brings these characters with it, and an editor that shows only letters will never show you the difference between the two strings.
Take the name "Ann Lee" pasted from a web page. In the view above it might show as Ann⍽Lee, because the gap is a no-break space, U+00A0, not an ordinary space, U+0020. A database compares the two byte by byte, so "Ann Lee" typed by hand does not match. Or it might show Ann·Lee followed by a red box reading U+200B, a zero-width space that came along from the web page. Turning on the first two fixes under Clean it up changes the no-break space to a plain space and removes the zero-width one, and the cleaned text matches.
Line endings are the other usual suspect. Windows ends a line with two characters, a carriage return and a line feed, written CRLF. Linux and macOS use the line feed alone, LF. Most programs accept both, but a shell script with CRLF fails on Linux with an error about a "bad interpreter", and a diff of two files that differ only in line endings shows every line as changed. There is one catch when checking this in a browser: the HTML standard makes a text box turn every line ending into LF, so pasting cannot show you CRLF. Opening the file reads it as saved, and the view marks each CRLF as ␍↵.
Some invisible characters change how text is shown, not just what it contains. The bidirectional controls, such as U+202E, the right-to-left override, can make code display in a different order from the order a compiler reads it. In 2021 researchers showed this could hide malicious logic in source code that looked harmless in review, an attack they called Trojan Source. A red box in the middle of a code line is worth a careful look.
The view has limits. It names the characters people most often go hunting for, not every character in Unicode, and a few rare spaces are shown with a generic mark. It draws the first 20,000 marks of a very long text, although the counts cover all of it. A file is read as UTF-8, so a file saved in an older encoding such as Windows-1252 may show its accented letters as replacement characters. And cleaning only does what you ask: it does not touch tabs inside a line, change the indent, or decide whether a no-break space was meant to be there.