encode fixed