revert encoding support