diff options
Diffstat (limited to 'libs')
-rw-r--r-- | libs/pbd/xml++.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/pbd/xml++.cc b/libs/pbd/xml++.cc index 3a0af1621d..8d783d59f2 100644 --- a/libs/pbd/xml++.cc +++ b/libs/pbd/xml++.cc @@ -110,7 +110,7 @@ XMLTree::write(void) const doc = xmlNewDoc((xmlChar *) "1.0"); xmlSetDocCompressMode(doc, _compression); writenode(doc, _root, doc->children, 1); - result = xmlSaveFormatFile(_filename.c_str(), doc, 1); + result = xmlSaveFormatFileEnc(_filename.c_str(), doc, "UTF-8", 1); xmlFreeDoc(doc); if (result == -1) { |