projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e21851e
)
explicitly state encoding as utf-8
author
Jason Skomorowski
<jason@indexdata.com>
Wed, 11 Nov 2009 13:02:36 +0000
(08:02 -0500)
committer
Jason Skomorowski
<jason@indexdata.com>
Wed, 11 Nov 2009 13:02:36 +0000
(08:02 -0500)
that probably took long than it was worth, but we want the output the same as xsl!
src/marcmap.c
patch
|
blob
|
history
diff --git
a/src/marcmap.c
b/src/marcmap.c
index
6b5c42e
..
fb76338
100644
(file)
--- a/
src/marcmap.c
+++ b/
src/marcmap.c
@@
-138,6
+138,7
@@
xmlDoc *marcmap_apply(struct marcmap *marcmap, xmlDoc *xml_in)
struct marcmap *mmcur;
xml_out = xmlNewDoc(BAD_CAST "1.0");
+ xml_out->encoding = xmlCharStrdup("UTF-8");
xml_out_root = xmlNewNode(NULL, BAD_CAST "record");
xmlDocSetRootElement(xml_out, xml_out_root);
ns_pz = xmlNewNs(xml_out_root, BAD_CAST "http://www.indexdata.com/pazpar2/1.0", BAD_CAST "pz");