Re: [xml] Finding the encoding of an xml documentj.
- From: Nikolay Sivov <bunglehead gmail com>
- To: xml gnome org
- Subject: Re: [xml] Finding the encoding of an xml documentj.
- Date: Thu, 02 Feb 2012 13:28:30 +0300
On 2/2/2012 12:17, John J. Boyer wrote:
How do I find the encoding of an xml document? My Braille transcription
software requires UTF-8.
What are you trying to do?
If you need to get parsed document encoding I guess it's stored in
xmlDoc.encoding field and probably in parser context as well.
If you want to guess what encoding your document is in before passing to
parser - try xmlDetectCharEncoding().
Thanks,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]