Block encording apparatus