Handle bad characters being used