mysql - Why do logins usually can contain only latin symbols and digits? -
is user experience thing? or it's historically? mean, here no difference characters store in database. , special characters encoded anyways. what's matter?
it's artifact of history: holdover olden days of unix usernames. used limited 8 characters too; fortunately don't still cling particular tradition.
if you're creating web site today, can define username
column utf8mb4
or utf8
character set. users' names can include sorts of characters worldwide languages, , emojis, , other glyphs.
please think through requirements case sensitivity in these enhanced usernames, , set collation username
column appropriately.
Comments
Post a Comment