Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
coding123
· 3y ago · 0 comments
Honestly the "what encoding is this! UTF-8" is still the only thing we need to know. len(emoji) is still a corner case that few will care about.
Comments
[–]
mcfedr
3y ago
That's what everyone thinks, until the user sticks an emoji in the name field
[–]
jaza
3y ago
No emojis (or anything else remotely exotic) in names thanks.
/^[A-Za-z\-' ]+$/
Users can beg and grovel at my feet for every measly character beyond that puny set that they want allowed in a name field.
[–]
ssokolow
3y ago
My anglophone Canadian brother's name is André. Even if you're fine with alienating the ~50% of the world population using non-latin writing systems, probably best to at
least
stick to the stuff covered by the latin1 legacy encoding.