Comment

Comment by ValentinA23

Don't validate names, use transliteration to make them safe for postal services (or whatever). In SQL this is COLLATE, in the command line you can use uconv:

>echo "'Lódź'" | uconv -f "UTF-8" -t "UTF-8" -x "Latin-ASCII"

>'Lodz'

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton