add gb2312 code to memo