revert the encoding configuration