Redo encoding.