Revert encoding