if (!(*p == ' ' || ACCEPTABLE((unsigned char)TOASCII(*p))))
if (!(*p == ' ' || ACCEPTABLE(UCH(TOASCII(*p)))))
PUBLIC char * HTEscapeSP ARGS2(	CONST char *,	str,	unsigned char,	mask){    CONST char * p;    char * q;    char * result;    int unacceptable = 0;    for (p = str; *p; p++)	if (!(*p == ' ' || ACCEPTABLE((unsigned char)TOASCII(*p))))	    unacceptable++;    result = (char *)calloc(1, (p-str + unacceptable + unacceptable + 1));    if (result == NULL)	outofmem(__FILE__, "HTEscape");    for (q = result, p = str; *p; p++) {	unsigned char a = TOASCII(*p);	if (a == 32) {	    *q++ = '+';	} else if (!ACCEPTABLE(a)) {	    *q++ = HEX_ESCAPE;	/* Means hex commming */	    *q++ = hex[a >> 4];	    *q++ = hex[a & 15];	} else {	    *q++ = *p;	}    }    *q++ = '\0';		/* Terminate */    return result;}