Text UtilitiesLesson 109Free preview
Find Hidden Characters
This lesson is part of Web Developer Tools · All levels
Summary
The tool displays invisible characters such as non-breaking space, zero-width space, tab, and carriage. These types of characters often cause bugs to be difficult to track, for example two strings that look the same but fail to compare. By looking at the Unicode code point, you can find the source of the problem and clear it. It also helps to detect the results of the copy of a web or other document.
Key points
- The invisible character remains in position in the string.
- Zero-width space U+200B is not visible and has no width
- Non-breaking space U+00A0 is different from ordinary space U+0020
- Code points help distinguish characters that look similar
- Clean up only unwanted characters, not all special characters
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.