summaryrefslogtreecommitdiff
path: root/src/xml.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xml.c')
-rw-r--r--src/xml.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xml.c b/src/xml.c
index 1a3ea3c..d822040 100644
--- a/src/xml.c
+++ b/src/xml.c
@@ -34,7 +34,8 @@ int ready_xml(char * filepath, char * rootnode, xmlDocPtr * file, xmlNodePtr * n
if(access(filepath, R_OK) != 0)
return 1;
- if((*file = xmlParseFile(filepath)) == NULL)
+// if((*file = xmlParseFile(filepath)) == NULL)
+ if((*file = xmlReadFile(filepath, "ISO-8859-1", 0)) == NULL)
{
fprintf(stderr, "Error: cannot open xml file %s\n", filepath);
return 1;