Set xmlDoc encoding type
Alexwell Sandro <[email protected]> Fri, 7 Jun 2013 16:42:04 -0300
| Newsgroups | gmane.comp.gnome.lib.xslt |
|---|---|
| Message-ID | <CAADRtVwc8op7XX+yj_q_xOOs2bb96ucRKtijo4hgt87o=3JfUw@mail.gmail.com> |
Hi, how to set xmlDocPtr encoding type? I tried this: *xmlDocPtr doc = xmlNewDoc(BAD_CAST "1.0");* *doc->encoding = BAD_CAST "UTF-8";* When I call: *"xmlFreeDoc(doc);"* Error occurs. Thanks, _______________________________________________ xslt mailing list, project page http://xmlsoft.org/XSLT/ [email protected] https://mail.gnome.org/mailman/listinfo/xslt