HTPassEightBitNum =
HTPassEightBitNum = (BOOL) (
PUBLIC void HTMLSetCharacterHandling ARGS1(int,i){    int chndl = safeUCGetLYhndl_byMIME(UCAssume_MIMEcharset);    BOOLEAN LYRawMode_flag = LYRawMode;    int UCLYhndl_for_unspec_flag = UCLYhndl_for_unspec;    if (LYCharSet_UC[i].enc != UCT_ENC_CJK) {	HTCJK = NOCJK;	kanji_code = NOKANJI;	if (i == chndl)	    LYRawMode = LYUseDefaultRawMode;	else	    LYRawMode = (!LYUseDefaultRawMode);	HTPassEightBitNum =	    ((LYCharSet_UC[i].codepoints & UCT_CP_SUPERSETOF_LAT1) ||		(LYCharSet_UC[i].like8859 & UCT_R_HIGH8BIT));	if (LYRawMode) {	    HTPassEightBitRaw = (LYlowest_eightbit[i] <= 160);	} else {	    HTPassEightBitRaw = FALSE;	}	if (LYRawMode || i == chndl) {	    HTPassHighCtrlRaw = (LYlowest_eightbit[i] <= 130);	} else {	    HTPassHighCtrlRaw = FALSE;	}	HTPassHighCtrlNum = FALSE;    } else { /* CJK encoding: */	CONST char *mime = LYCharSet_UC[i].MIMEname;	if (!strcmp(mime, "euc-cn")) {	    HTCJK = CHINESE;	    kanji_code = EUC;	} else if (!strcmp(mime, "euc-jp")) {	    HTCJK = JAPANESE;	    kanji_code = EUC;	} else if (!strcmp(mime, "shift_jis")) {	    HTCJK = JAPANESE;	    kanji_code = SJIS;	} else if (!strcmp(mime, "euc-kr")) {	    HTCJK = KOREAN;	    kanji_code = EUC;	} else if (!strcmp(mime, "big5")) {	    HTCJK = TAIPEI;	    kanji_code = EUC;	}	/* for any CJK: */	if (!LYUseDefaultRawMode)		HTCJK = NOCJK;	LYRawMode = (HTCJK != NOCJK) ? TRUE : FALSE;	HTPassEightBitRaw = FALSE;	HTPassEightBitNum = FALSE;	HTPassHighCtrlRaw = (HTCJK != NOCJK) ? TRUE : FALSE;	HTPassHighCtrlNum = FALSE;    }    /*     *  Comment for coding below:     *  UCLYhndl_for_unspec is "current" state with LYRawMode,     *  but UCAssume_MIMEcharset is independent from LYRawMode:     *  holds the history and may be changed from 'O'ptions menu only. - LP     */    if (LYRawMode) {	UCLYhndl_for_unspec = i;  /* UCAssume_MIMEcharset not changed! */    } else {	if (chndl != i &&	    (LYCharSet_UC[i].enc != UCT_ENC_CJK ||	     LYCharSet_UC[chndl].enc != UCT_ENC_CJK)) {	    UCLYhndl_for_unspec = chndl;  /* fall to UCAssume_MIMEcharset */	} else {	    UCLYhndl_for_unspec = LATIN1;  /* UCAssume_MIMEcharset not changed! */	}    }#ifdef USE_SLANG    if (LYlowest_eightbit[i] > 191) {	/*	 *  Higher than this may output cntrl chars to screen. - KW	 */	SLsmg_Display_Eight_Bit = 191;    } else {	SLsmg_Display_Eight_Bit = LYlowest_eightbit[i];    }#endif /* USE_SLANG */    ena_csi((LYlowest_eightbit[current_char_set] > 155));    /* some diagnostics */    if (TRACE) {	if (LYRawMode_flag != LYRawMode)	    CTRACE(tfp, "HTMLSetCharacterHandling: LYRawMode changed %s -> %s\n",			(LYRawMode_flag ? "ON" : "OFF"),			(LYRawMode	? "ON" : "OFF"));	if (UCLYhndl_for_unspec_flag != UCLYhndl_for_unspec)	    CTRACE(tfp, "HTMLSetCharacterHandling: UCLYhndl_for_unspec changed %d -> %d\n",			UCLYhndl_for_unspec_flag,			UCLYhndl_for_unspec);    }    return;}