Home | History | Annotate | Download | only in LIBXMLPlugin

Lines Matching refs:utf8

46 	xmlChar* utf8ToLatin1(const xmlChar* utf8) {
47 int inLen = xmlStrlen(utf8);
50 int numBytes = UTF8Toisolat1(latin1, &outLen, utf8, &inLen);
63 xmlChar* utf8 = new xmlChar[outLen];
64 int numBytes = isolat1ToUTF8(utf8, &outLen, (xmlChar*)latin1.c_str(), &inLen);
69 utf8[numBytes] = '\0';
70 return utf8;
76 // other than utf8 the caller should free the returned attribute value
227 if (dae.getCharEncoding() != DAE::Utf8)
445 xmlChar* utf8 = (xmlChar*)str.c_str();
447 utf8 = latin1ToUtf8(str);
448 xmlTextWriterWriteString(writer, utf8);
450 delete[] utf8;