summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaybin Rutkin <taybin@taybin.com>2006-11-02 21:30:42 +0000
committerTaybin Rutkin <taybin@taybin.com>2006-11-02 21:30:42 +0000
commitbf9c7675818aea149da34b838c554cc0de0cf863 (patch)
treecc209437c9409f528de1a1d3342c76158267239f
parent06a539420aaff3c9d59c9196a38e4320984f97e7 (diff)
Ardour session files specify UTF-8.
git-svn-id: svn://localhost/ardour2/trunk@1062 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r--SConstruct2
-rw-r--r--libs/pbd/xml++.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct
index df86ff95af..dc0deb7000 100644
--- a/SConstruct
+++ b/SConstruct
@@ -16,7 +16,7 @@ import SCons.Node.FS
SConsignFile()
EnsureSConsVersion(0, 96)
-version = '2.0beta6.1'
+version = '2.0beta6.2'
subst_dict = { }
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) {