Remove bad encoded characters