[xml] How to display in ASCII encoding and not in UTF8 ?
- From: Aurelien Nephtali <aurelien nephtali gmail com>
- To: xml gnome org
- Subject: [xml] How to display in ASCII encoding and not in UTF8 ?
- Date: Tue, 9 Nov 2004 19:30:47 +0100
Hello,
I have a sample XML file:
<?xml version="1.0" encoding="utf-8" ?>
<C>B(Convention collective nationale 1998-07-13 en vigueur à l'extension &\
#233;tendue par arrêté du 2_avril 1999 JORF 14_avril 1999).<p/>
</C>
Using the sample code reader1.c from the documentation, I got:
0 1 C 0 0
1 3 #text 0 1 B(Convention collective nationale 1998-07-13 en vigueur
à l'extension étendue par arrêté du 2_avril 1999 JORF 14_avril
1999).
1 1 p 1 0
1 14 #text 0 1
0 15 C 0 0
How to dump data with the encoding "&#;" style ? How to tell libxml2
to not use this encoding (UTF8 I guess ?) ?
Thanks in advance!
--
Aurelien 'dak' Nephtali
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]