3 ms·
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.
by coding123 3y ago
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.
- mcfedr 3y agoThat's what everyone thinks, until the user sticks an emoji in the name field
- jaza 3y agoNo 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 agoMy 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.