Reencoded flags