commit encoding