hkscs_to_gbk2k
n = hkscs_to_gbk2k(st->keepc, *outbuf, *outbytesleft);
int hkscs_to_gbk2k(char keepc[], char *buf, size_t buflen);