support file with gbk encoding