Lines Matching defs:encoding
64 {"euc-kr", B_EUC_KR_CONVERSION}, // Shift encoding 7 bit and KSC-5601 if bit 8 is on. // MIME STANDARD
380 char *charset, *encoding, *end;
402 && (((encoding = strchr(charset + 2, '?')) != NULL)
403 && encoding[1] && (encoding[2] == '?') && encoding[3])
404 && (end = strstr(encoding + 3, "?=")) != NULL;
405 // found "=?...charset...?e?...text...?= (e == encoding)
406 // ^charset ^encoding ^end
430 // =?...charset...?e?...text...?= (e == encoding)
431 // ^charset ^encoding ^end
433 encoding += 1;
437 size_t cLen = encoding - 1 - charset;
438 bool base64encoded = toupper(*encoding) == 'B';
466 char *src = encoding+2;
520 encoding = *bufp + (encoding-head);
555 utf8_to_rfc2047 (char **bufp, ssize_t length, uint32 charset, char encoding)
565 // which means it will need that special encoding treatment later.
670 // quoted-printable or base64 encoding. Insert an extra space between
687 if ((encoding != quoted_printable && encoding != base64) ||
691 // This word needs encoding. Try to insert a space between it and
714 switch (encoding) {
723 default: // Unknown encoding type, shouldn't happen.
729 rfc2047 << "=?" << charset_dec << '?' << encoding << '?';
733 if (encoding == quoted_printable || encoding == base64)