Modify encoding.