Skip to content
VoiceLingua.Sign in
Search & workspace
My posts & draftsSaved postsProfessional listsBookmark collectionsWrite & manage articlesLanguage puzzlesMatched projectsTerminology helpCommunity glossarySettingsNotifications

Two identical-looking words can have different underlying text

Share experience. Ask questions. Grow together.

Evan

Contributor · VoiceLingua · · Public

resource

Two identical-looking words can have different underlying text

Language technology
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…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.

www.unicode.orgreports tr15Open linked resource ↗

Discussion

Be the first to contribute to this discussion.
▱ Messages ⌃