[xml] Query regardin storing of encoding information
- From: Nagesh <nageshs huawei com>
- To: xml gnome org
- Cc: ranjit huawei com
- Subject: [xml] Query regardin storing of encoding information
- Date: Thu, 03 Apr 2008 10:49:20 +0530
Hi All,
While parsing the xml document, If the encoding is any of UTF-8 or
UTF-16, then the function, xmlParseEncodingDecl( ) stores in the encoding
information in ctxt->encoding parameter, and if the encoding is something
else other than UTF-8 or UTF-16, then it stores in ctxt->input->encoding,
but ctxt->input->encoding is meant for the entities encoding.
So I guess in this case, the function xmlParseEncodingDecl( ) should
populate ctxt->encoding rather than ctxt->input->encoding.
Thanks in advance for the reply,
Regards,
Nagesh.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]