SkilldexAll articles

Normalize skill text at explicit boundaries

Handle equivalent Unicode spellings while preserving identifiers that must remain exact.

Two text strings can appear identical and still use different code points. A search workflow may benefit from normalization, while a stored filename or signed identifier may need an exact representation. Choose where normalization belongs and preserve the original value when the task depends on it.

Decide what equivalence means for each field

A display name used for search may support normalized comparison. A resource URI or opaque key should follow the provider’s documented comparison rules. Compatibility normalization can discard distinctions that matter, so choose the form deliberately instead of applying it everywhere.

Keep the original alongside derived search text

For user-visible names, preserve the spelling and script the source used. Use a normalized search key or comparison view internally. When an exact identifier is needed for authorization or lookup, send the canonical value returned by the service rather than recreating it from a display label.

Add mixed-representation fixtures

Test canonically equivalent strings and pairs that look similar but are distinct. Verify duplicate detection works where required and formatting remains correct when the artifact is opened. Add a result that includes characters from several scripts to catch accidental ASCII-only assumptions.

Sources