On Tue, Mar 01, 2005 at 11:07:49PM -0800, dan berry wrote: > I parsed the document, using htmlParseDoc (without encoding information) > > The document was converted to utf-8 while the parsing process. > > The problem is reconverting it to its original encoding (The output contains > unreadable characters). > > > > I use the following functions for output handle; do I miss something? Does > the original encoding should be saved by the user for reconverting?
http://xmlsoft.org/html/libxml-tree.html#xmlDocDumpMemoryEnc Notice the parameter txt_encoding: Character encoding to use when generating XML text Daniel -- Daniel Veillard | Red Hat Desktop team http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ _______________________________________________ xml mailing list, project page http://xmlsoft.org/ [email protected] http://mail.gnome.org/mailman/listinfo/xml
