change gbk encoding handling