if charset is gb2312, convert it as gb18030