To a Midwesterner with hardly any language competency beyond English,
it seems like an obvious improvement -- surely everyone who builds
Django sites in Russian or Chinese or Japanese would love to let
people sign in with their real names. But I don't see much clamor
about it, so I'm guessing there are good reasons this hasn't been
done, or at least people have workarounds they're happy with.
There was a fairly pessimistic thread on the users list back in 2005,
the upshot of which was that people were used to being forced into 7-
bit ASCII anyway, so you might as well not bother, or if you must,
create another field in a user profile or something.
What's the consensus on Unicode usernames? Is the current restriction
intentional, or just left over from before the Unicode overhaul? Are
the developers who could really use these (as opposed to those who
just want to be courteous and future-proof) interested, or do you have
other solutions you're happy with?
Personally, I'd love to see the username validation expanded - unicode,
email addresses, etc, are all fair game in my opinion :)
Registration forms could easily be limited if people wanted to restrict
allowed characters, but you can't really go the other direction :)
--
Collin Grady
Pause for storage relocation.
I think, making unicode available would be great because there is no obstacles
in controlling it. When we don't want to unicode character names, we can just
control it with newform validation.
[~/tmp]> python
Python 2.4.4 (#1, Jan 4 2008, 00:58:13)
[GCC 3.4.6] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> foo = "not unicode"
>>> bar = u"unicode iĞü"
>>> isinstance(foo, unicode)
False
>>> isinstance(bar, unicode)
True
>>>
http://en.wikipedia.org/wiki/Internationalized_domain_name#ASCII_Spoofing_and_squatting_concerns
It's not too hard to imagine other sorts of mischief that lookalike
characters could cause.
Thanks for the feedback, guys.
Hmm, I didn't think about it. It looks like a serious problem for django. Now,
I really prefer not to use unicode usernames :)
It's really insteresting and stunning :)
Don't say for all. phpBB3 allow unicode usernames and it use fancy
way to get rid of usernames which look the same. E.g. they use a list
of confusables (equaly looking chars), so they substitute all of them
one prefered one when comparing usernames. MediaWiki also allows
usernames to be in unicode, MoinMoin is here too.
I'm running a site with phpBB3, MediaWiki and homebrew Django
application, all intergrated to authenticate against phpBB3 user table
and it works perfectly fine with unicode usernames. Well, except
Django admin pages, which are claiming that usernames are not valid.
Nut I'm not very concerned about this, as I use it very rarely.
So, here is other point of view. I think full support of unicode usernames
will be very helpful, but a way to limit them to ASCII (or whatever else)
would be a good thing to have too.
--
Regards,
Alexander Chemeris.
SIPez LLC.
SIP VoIP, IM and Presence Consulting
http://www.SIPez.com
tel: +1 (617) 273-4000