The username contains an illegal character.

vedat.kamer - September 16, 2004 - 10:22

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.

drupal version

vedat.kamer - September 16, 2004 - 10:23

i installed today's cvs of drupal.

Not possible

Steven - September 16, 2004 - 12:20

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.');

Where is this located in d6?

alex.ihlo - June 16, 2009 - 22:42

Where is this located in d6?

Alexander Ihlo

I am also having this same

danielb - January 29, 2009 - 06:08

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.

what'd you wind up doing

alex.ihlo - June 16, 2009 - 22:43

what'd you wind up doing about this?

Alexander Ihlo

 
 

Drupal is a registered trademark of Dries Buytaert.