Tag encoding comparison