[xml] xmlParseDocument with a specified encoding
- From: Kasimier Buchcik <kbuchcik 4commerce de>
- To: <xml gnome org>
- Subject: [xml] xmlParseDocument with a specified encoding
- Date: Wed, 22 Oct 2003 11:34:16 +0200
Hi,
Is it possible to have a document (as string) in UTF-16 but with an
other encoding declared in the document prolog, that I can pass to
xmlCreateDocParserCtxt and parse with xmlParseDocument? I.e. can I force
the parser to handle the document with a specified encoding? Or will the
parser autodetect somehow the UTF-16 encoding of the passed string and
don't care for the declaration in the prolog?
Any hints?
Thanks,
Kasimier Buchcik
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]