detect encoding GB2312/GBK as GB18030