From 8167f9cbc23ba04493a4356e597e46424f1756b1 Mon Sep 17 00:00:00 2001 From: Baptiste Lepilleur Date: Thu, 25 Apr 2002 18:05:22 +0000 Subject: Src/cppunit/XmlOutputter. src/cppunit/XmlOutputter.cpp: bugfix, use ISO-8859-1 encoding if an empty string is given. * src/DllPlugInTester/CommandLineParser.h: * src/DllPlugInTester/CommandLineParser.cpp: * src/DllPlugInTester/DllPlugInTester.cpp: added option -w to wait for the user to press a key before exiting (Philippe Lavoie patch, with change). --- src/cppunit/XmlOutputter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cppunit/XmlOutputter.cpp') diff --git a/src/cppunit/XmlOutputter.cpp b/src/cppunit/XmlOutputter.cpp index 93a57dd..6a5c0d7 100644 --- a/src/cppunit/XmlOutputter.cpp +++ b/src/cppunit/XmlOutputter.cpp @@ -176,7 +176,7 @@ XmlOutputter::XmlOutputter( TestResultCollector *result, std::string encoding ) : m_result( result ), m_stream( stream ), - m_encoding( encoding ) + m_encoding( encoding == "" ? "ISO-8859-1" : encoding ) { } -- cgit v1.2.1