To allow the special characters in the WordPress Username, add the below lines in the functions.php file of your theme.
add_filter(‘sanitize_user’, ‘non_strict_login’, 10, 3);
function non_strict_login( $username, $raw_username, $strict ) {
if( !$strict )
return $username;
return sanitize_user(stripslashes($raw_username), false);
}
function non_strict_login( $username, $raw_username, $strict ) {
if( !$strict )
return $username;
return sanitize_user(stripslashes($raw_username), false);
}