Lines Matching defs:charset
29 const char* charset;
36 const char* kHeaderCharsetString = "header-charset";
122 uint32 charset, mail_encoding encoding, bool replace_existing)
133 if (charset != B_MAIL_NULL_CONVERSION
134 && headers.ReplaceInt32 (kHeaderCharsetString, charset) != B_OK)
135 headers.AddInt32(kHeaderCharsetString, charset);
146 int32 charset = B_MAIL_NULL_CONVERSION;
180 structure->FindInt32(kHeaderCharsetString, &charset);
184 SetHeaderField(key, value.String(), (uint32) charset, (mail_encoding) encoding);
309 int32 charset = B_ISO15_CONVERSION;
320 headers.FindInt32(kHeaderCharsetString, &charset);
338 charset, encoding));
429 charset(B_ISO15_CONVERSION),
445 BTextMailComponent::SetEncoding(mail_encoding encoding, int32 charset)
448 this->charset = charset;
584 charset = _charSetForTextDecoding;
585 if (charset == B_MAIL_NULL_CONVERSION && content_type.HasString("charset")) {
586 const char* charset_string = content_type.FindString("charset");
588 charset = B_MAIL_US_ASCII_CONVERSION;
590 charset = B_MAIL_UTF8_CONVERSION;
594 charset = cs->GetConversionID();
631 if (charset == B_MAIL_NULL_CONVERSION) {
633 charset = B_JIS_CONVERSION;
635 charset = B_ISO15_CONVERSION;
641 mail_convert_to_utf8(charset, decoded.String(), &bytes, string,
667 for (uint32 i = 0; mail_charsets[i].charset != NULL; i++) {
668 if (mail_charsets[i].flavor == charset) {
669 content_type << "; charset=\"" << mail_charsets[i].charset << "\"";
709 mail_convert_from_utf8(charset, this->text.String(), &len, raw,