modify encoding configuration