Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

My username is krunal.

And If i type my name in any language like Gujarati(કૃણાલ), Hindi(कृनल) or English(krunal) in username textbox than it should allowed me to login without any specific language selection.

I just want to know the views of other people regarding this functionality. Is it a good to provide a login functionality like this ?

share|improve this question
    
I understand the concept of internationalization, but wouldn't your name be spelled the same no matter what system you logged into? When you create an account for yourself on a particular system, you get to decide how your name is spelled. –  Robert Harvey Dec 17 '10 at 21:06
2  
@Robert: not if different alphabets are involved. I think what Krunal is getting at is being able to type login info using different charsets. –  Anna Lear Dec 17 '10 at 21:15
    
I'd say no good, but perhaps I am too old fashioned. It is not 1989 anymore. Who knows, may be all 100% of devices in the world do support 100% human languages connected to any of 100% of existing backends. Wait... –  user7071 Jun 4 '12 at 2:24
    
What about the password? Would you type it with the same language as the username or allow any combination? –  mouviciel Jun 4 '12 at 7:27
add comment

5 Answers

OpenID would be a good start I think. It doesn't allow for multiple login names, and as Enrique said -- would be bad because of security issues. However it does give you the uniqueness of using an email address, however you have the freedom to choose whichever username you would like.

share|improve this answer
    
+1 I was going to update my answer to suggest OpenID –  Enrique Dec 17 '10 at 21:32
    
+1 OpenID way my first thought also. Additionally I believe it allows you to specify a nickname that could be internationalize, but I have not tried. –  Jonathan Dec 17 '10 at 21:54
add comment

It is not a good idea. The login name should be unique. Allowing multiple strings for logging in will lead to confusion and security issues. So I think is not worth the try.

share|improve this answer
2  
Confusion, yes. Security issues, no, not unless he did something bizarre to make it less secure. It's no different than systems that allow login with either a username or an email address. –  Matthew Read Dec 17 '10 at 22:10
    
Please substantiate "security issues". Thrown out like that, it just smells like FUD. –  MIA Dec 19 '10 at 5:34
add comment

The closest I cna imagine is to have a database setup with a user ID's, language ID's. Have the password and user ID associated (one password only!), and then a link table with the User ID, Language ID, and then the actual username data. Clearly a username must be unique per language.

However, I agree also with Enrique here in that one username is good. Taking on Cosizzle's suggestion - you could definitely use OpenID. You could also make it really easy for the user and support authentication through Facebook or twitter tokens....

share|improve this answer
add comment

Imagine what would happen if usernames were not matched based on a single culture. You would either have to do a binary match (which is trickier than it sounds because of Unicode conversions) and it would make usernames case-sensitive making for a bad user experience or you would have to validate against every known character set conceivable on every login and user creation. For simplicity, it is easier, both to administer and for users, to force username uniqueness based on a single character set.

share|improve this answer
1  
How would a case-sensitive username be a bad user experience? –  mouviciel Jun 4 '12 at 7:26
    
@mouviciel - It violates the least astonishment rule. No user is expecting their username to be case-sensitive. A user entering their name with the wrong case and told that the username does not exist will generate additional support costs. –  Thomas Jun 4 '12 at 14:26
add comment

The mapping between different character sets isn't guaranteed to be one on one in all cases; that is, not every glyph/letter sequence in one language maps to a valid sequence in another language. Multiple different sequences in one set might even map to identical sequences in another. Therefore such a functionality can not be automatic, you probably won't be able to enter a Hindi character sequence on signup and have it automatically create an account with a matching english name, which then also maps to arabic, hebrew or greek.

Allowing the user to create additional login names in different character sets for their account might be an alternative, but this might lead to security problems by adding more valid login/password combinations, thus reducing the search space, or by creating ambiguities (different users suddenly having the same login).

But using different character sets might create other problems: what happens when the password for such a login is entered? Must/can it be given in the same character set as the login, or in a different character set? How does the user know which character set is used when he types in his password? How would password rules be enforced?

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.