adding GBK encoding support