fix bug for webpage whose encoding is gb2312