Encode P10