Skip dummy encodings and properly encode the rest.