Morning,
A little advice sought here.
Have a username column in a utf8-bin table.
Want to keep case sensitivity on usernames for login but wish to perform a case-insensitive check on availability of username.
what issues surround using
CONVERT(`usrnm` USING latin1) #or other charset.
when dealing with something like chinese or arabic?
Any tips/thoughts/comments most welcome.
Note that if you want to ensure case-insensitive uniqueness, it’s better to make the column
UTF8_GENERAL_CIand declare itUNIQUE: