Find invisible characters that break product-code matching
A zero-width space or non-breaking space can break equality even when a code looks identical. Record position, kind and original text; do not change an identifier without owner approval.
Positions are zero-based examples. Detection does not mean that removal is safe.
Reproduce it with fixtures
Compare mixed-code.txt with clean-code.txt, then match positions, kinds and decisions in expected.csv. Keep the original product code separate from a display-only proposal.
Confirm that the owner permits removal or replacement.
If the contract is unknown, review it and use the original as the key.
This guide is static browser-local material. Text and input are not sent to an external server.
Do not change identifiers automatically
An invisible character may be invalid, but not every space or control character is disposable. Until the product-code owner approves the repair, hand off the original and the display proposal separately.