Definition
What a zero-width character is, precisely
A zero-width character is a codepoint that renders with no width and produces no visible output. It is distinct from a visible space and from a layout gap: it occupies no screen area, yet it exists in the string exactly as any other character would, at a specific position, readable by any process that reads the string byte by byte.
This is the property that makes zero-width characters a distinct category of concern. A search function, a diff algorithm or a slug generator processes every codepoint present, visible or not, so a zero-width character alters machine-level comparison while leaving human-level perception unchanged.