That used to be the case, especially with special characters turned on. Since 7.5 both the Login and Display names get passed through trim() before being added to the database.