Lines Matching defs:charset
646 * - The Content-Type, Mime-Type and charset used
690 const xmlChar *charset, *last, *mime;
704 charset = xmlStrstr(BAD_CAST ctxt->contentType, BAD_CAST "charset=");
705 if (charset != NULL) {
706 charset += 8;
707 last = charset;
713 ctxt->encoding = (char *) xmlStrndup(charset, last - charset);
716 const xmlChar *charset, *last, *mime;
729 charset = xmlStrstr(BAD_CAST ctxt->contentType, BAD_CAST "charset=");
730 if (charset != NULL) {
731 charset += 8;
732 last = charset;
738 ctxt->encoding = (char *) xmlStrndup(charset, last - charset);