Whick characters can be used for username in drupal? When i tried to write a turkish name like "Suat Gültepe" for registration it gives "The username contains an illegal character" error. Is it possible to use UTF-8 for usernames? Thank you.

Comments

vedat.kamer’s picture

i installed today's cvs of drupal.

Steven’s picture

This is not possible at the moment. For a quick hack, you can remove line 180 (in CVS) from user.module:

if (ereg('[^ [:alnum:]@_.-]', $name)) return t('The username contains an illegal character.');

alex.ihlo’s picture

Where is this located in d6?

danielb’s picture

I am also having this same problem. I would consider it a bug since the character I am using is most definitely not illegal in my country, or in any RFC.

alex.ihlo’s picture

what'd you wind up doing about this?