use correct encoding when saving in non-Unicode builds

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2005-12-18 14:49:38 +00:00
parent 716e748b2f
commit 24c80a284c

View File

@@ -687,7 +687,7 @@ static void OutputNode(wxOutputStream& stream, wxXmlNode *node, int indent,
{
OutputString(stream, wxT(" ") + prop->GetName() + wxT("=\""),
NULL, NULL);
OutputStringEnt(stream, prop->GetValue(), NULL, NULL,
OutputStringEnt(stream, prop->GetValue(), convMem, convFile,
true/*escapeQuotes*/);
OutputString(stream, wxT("\""), NULL, NULL);
prop = prop->GetNext();