Be canonical in encoding