1
0
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:
John Fleck
2002-10-31 15:23:29 +00:00
committed by John Fleck
parent f95b56b491
commit 61f6fb66ad
29 changed files with 46 additions and 27 deletions

View File

@ -407,6 +407,13 @@ xmlDtdPtr dtd = xmlParseDTD(NULL, filename_of_dtd); /* parse the DTD */
else xmlAddPrevSibling(doc-&gt;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>