From 71f44b1bc4277d7d6f6ef199c0f4f3d1bd219781 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 20 Jan 2012 23:18:29 +0000 Subject: [PATCH] Update the message catalog charset expected by the unit test. The charset of the message catalog files changed to UTF-8 in r70411 but the unit test still expected ISO-8859-1. Update the unit test too to make it pass again. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- tests/intl/intltest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/intl/intltest.cpp b/tests/intl/intltest.cpp index d747b7aa26..e1bea25e35 100644 --- a/tests/intl/intltest.cpp +++ b/tests/intl/intltest.cpp @@ -117,7 +117,7 @@ void IntlTestCase::Headers() CPPUNIT_ASSERT_EQUAL( "YEAR-MO-DA HO:MI+ZONE", m_locale->GetHeaderValue("PO-Revision-Date") ); CPPUNIT_ASSERT_EQUAL( "Vadim Zeitlin ", m_locale->GetHeaderValue("Last-Translator") ); CPPUNIT_ASSERT_EQUAL( "1.0", m_locale->GetHeaderValue("MIME-Version") ); - CPPUNIT_ASSERT_EQUAL( "text/plain; charset=iso-8859-1", m_locale->GetHeaderValue("Content-Type") ); + CPPUNIT_ASSERT_EQUAL( "text/plain; charset=utf-8", m_locale->GetHeaderValue("Content-Type") ); CPPUNIT_ASSERT_EQUAL( "8bit", m_locale->GetHeaderValue("Content-Transfer-Encoding") ); // check that it fails with a bogus domain: -- 2.47.2