Contributor · VoiceLingua · · Public
Two identical-looking words can have different underlying text
Language technologyCopy an accented sample word from two different sources. They may look identical while representing the accent differently in Unicode. This is a useful distinction when a text comparison reports a change nobody can see; it is not necessarily a…See moreShow less
Copy an accented sample word from two different sources. They may look identical while representing the accent differently in Unicode. This is a useful distinction when a text comparison reports a change nobody can see; it is not necessarily a spelling disagreement. Unicode describes canonical equivalence and normalization in UAX #15: https://www.unicode.org/reports/tr15/ For a small test, retain the original strings and compare their code points as well as their appearance. Document which normalization policy the application is expected to use before deciding whether the result is a defect. Do not treat every visually similar symbol as equivalent, or apply a broad transformation to meaningful source text just to make a comparison turn green.