3 ms·
> It's not a trivial problem. It seems pretty trivial. You just follow existing international standards and use the transliterated version of the name found on
by FDSGSG 5y ago
> It's not a trivial problem.
It seems pretty trivial. You just follow existing international standards and use the transliterated version of the name found on the passports MRZ if accepting unicode strings isn't easy for your particular use case.
- dharmab 5y agoWhat if there are multiple standards? (Hint: there are.) What if the passport has the same issue as US immigration and doesn't actually fit the name? What about LGBT users whose passports may or may not reflect their names, depending on varying government policy? What about people who have never had a passport? (Common in the US, as well as displaced/vulnerable persons worldwide) These are not hypothetical edge cases, these are millions of real people. My own name doesn't fit in a lot of older forms and gets incorrectly parsed a surprising amount.