Handle bad characters gracefully, flag an error to the user