Finish gb18030 encoder/decoder.