strcpy(t, buf);
StrAllocCopy(*t, buf); FREE(buf);
PUBLIC int HTrjis ARGS2(	char *,		t,	char *,		s){    char *p, buf[LINE_LENGTH];    int kanji = 0;    if (strchr(s, ESC) || !strchr(s, '$')) {	if (s != t)	    strcpy(t, s);	return 1;    }    for (p = buf; *s; ) {	if (!kanji && s[0] == '$' && (s[1] == '@' || s[1] == 'B')) {	    if (HTmaybekanji((int)s[2], (int)s[3])) {		kanji = 1;		*p++ = ESC;		*p++ = *s++;		*p++ = *s++;		*p++ = *s++;		*p++ = *s++;		continue;	    }	    *p++ = *s++;	    continue;	}	if (kanji && s[0] == '(' && (s[1] == 'J' || s[1] == 'B')) {	    kanji = 0;	    *p++ = ESC;	    *p++ = *s++;	    *p++ = *s++;	    continue;	}	*p++ = *s++;    }    *p = *s;	/* terminate string */    strcpy(t, buf);    return 0;}