Add autodetecting for gbk.