add encoding feature, prepare for release 1.76