auto determine encoding gk18030