encode3