Lines Matching refs:encoding
639 // libXML throws an error if you try to switch the encoding for an empty string.
641 // Hack around libxml2's lack of encoding overide support by manually
642 // resetting the encoding to UTF-16 before every chunk. Otherwise libxml
643 // will detect <?xml version="1.0" encoding="<encoding name>"?> blocks
655 handleError(fatal, "Encoding error", context->context()->input->line, context->context()->input->col);
1003 void XMLTokenizer::startDocument(const xmlChar* version, const xmlChar* encoding, int standalone)
1010 if (encoding)
1011 m_doc->setXMLEncoding(toString(encoding));
1229 getTokenizer(closure)->startDocument(ctxt->version, ctxt->encoding, ctxt->standalone);