What happened
A supplier platform handled company names and contact details from organizations around the world. The API accepted UTF-8 JSON, but a downstream archival service used a legacy encoding configuration. Some names containing accented characters, Turkish dotted and dotless I, or non-Latin scripts were replaced with question marks during export.
The original API response looked correct because the primary database stored UTF-8 text. The corruption appeared only when records were transferred through an asynchronous archive pipeline. Search and reconciliation later failed because the archived company name no longer matched the source record.
The organization had tested ASCII-only names and ordinary Latin text. It had not tested round trips across the database, queue, export service, and archive. It also compared composed and decomposed Unicode strings inconsistently, producing duplicate-looking supplier records.
Root cause
Different components applied incompatible character encodings and normalization assumptions. Test data did not represent multilingual input or exercise the complete data path.
The fix
The team standardized UTF-8 across service boundaries, defined normalization rules for identifiers and comparisons, and added round-trip tests using representative Unicode characters. Byte-length and character-length limits were tested separately.
Testing gaps and preventive tests
Unicode round trips, composed and decomposed normalization tests, encoding-header checks, and byte-versus-character boundary tests. Supporting international names requires consistent encoding throughout the entire integration chain.
Business impact
Supplier records became difficult to reconcile and some international names were corrupted in long-term records.
Lesson learned
Text is data. Supporting international names requires consistent encoding throughout the entire integration chain.