Remove improperly encoded strings.