Re: [xml] encoding-type
- From: Daniel Veillard <veillard redhat com>
- To: Manos Moschous <moschous ics forth gr>
- Cc: libXml2 <xml gnome org>
- Subject: Re: [xml] encoding-type
- Date: Fri, 17 Sep 2004 09:57:21 -0400
On Fri, Sep 17, 2004 at 09:40:41AM -0400, Daniel Veillard wrote:
On Fri, Sep 17, 2004 at 04:31:19PM +0300, Manos Moschous wrote:
Hi,
I try to use the htmlParser of libxml2 but i have some problems about the
encoding
which i haven't fully understund.
I use the testHTML.exe and the function-----> htmlParseFile(filename, NULL)
I don't have problems with sites with other type of encoding (for example
charset=iso-8859-1) except some errors which dont affect the parsing.
The html site i want to parse has the encoding: charset=ISO-8859-7
What am i have to do before i call the libxml's functions?
use the right API
http://xmlsoft.org/html/libxml-HTMLparser.html
err
http://xmlsoft.org/html/libxml-HTMLparser.html#htmlCtxtReadFile
more precisely,
Daniel
--
Daniel Veillard | Red Hat Desktop team http://redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]