diff options
author | Taybin Rutkin <taybin@taybin.com> | 2006-11-02 21:30:42 +0000 |
---|---|---|
committer | Taybin Rutkin <taybin@taybin.com> | 2006-11-02 21:30:42 +0000 |
commit | bf9c7675818aea149da34b838c554cc0de0cf863 (patch) | |
tree | cc209437c9409f528de1a1d3342c76158267239f /libs | |
parent | 06a539420aaff3c9d59c9196a38e4320984f97e7 (diff) |
Ardour session files specify UTF-8.
git-svn-id: svn://localhost/ardour2/trunk@1062 d708f5d6-7413-0410-9779-e7cbd77b26cf
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) { |