Replaces space with special characters