Lines Matching refs:charset
24 std::string* charset, std::string* data) {
26 DCHECK(charset->empty());
51 static const char kCharsetTag[] = "charset=";
58 } else if (charset->empty() &&
60 charset->assign(iter->substr(kCharsetTagLength));
61 // The grammar for charset is not specially defined in RFC2045 and
63 if (!net::HttpUtil::IsToken(*charset))
70 // specified in RFC2045. As specified in RFC2397, we use |charset| even if
75 // value is invalid. For this case, we don't respect |charset| but force it
78 charset->assign("US-ASCII");
80 if (charset->empty())
81 charset->assign("US-ASCII");