mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
doc/xml.html (and, by implication, FAQ.html) added UTF-8 conversaion FAQ
2002-10-31 John Fleck <jfleck@inkstain.net> * doc/xml.html (and, by implication, FAQ.html) added UTF-8 conversaion FAQ from Marcus Labib Iskander
This commit is contained in:
@ -407,6 +407,13 @@ xmlDtdPtr dtd = xmlParseDTD(NULL, filename_of_dtd); /* parse the DTD */
|
||||
else xmlAddPrevSibling(doc->children, (xmlNodePtr)dtd);
|
||||
</pre>
|
||||
</li>
|
||||
<li>So what is this funky "xmlChar" used all the time?
|
||||
<p>It is a null terminated sequence of utf-8 characters. And only utf-8! You
|
||||
need to convert strings encoded in different ways to utf-8 before passing
|
||||
them to the API. This can be accomplished with the iconv library for
|
||||
instance.</p>
|
||||
</li>
|
||||
|
||||
<li>etc ...</li>
|
||||
</ol>
|
||||
|
||||
|
Reference in New Issue
Block a user