support GBK encoding