From 4bc9acbe167e29b47763a76092931bc9a536581f Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 26 Sep 2009 13:31:20 +0000 Subject: [PATCH] No changes, just convert file to UTF-8. All files in svn are supposed to use UTF-8 now so convert this one to UTF-8 too before committing more changes to it (which would be otherwise rejected by pre-commit hook). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- tests/strings/unicode.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/strings/unicode.cpp b/tests/strings/unicode.cpp index 35850eac1f..18bd0f286f 100644 --- a/tests/strings/unicode.cpp +++ b/tests/strings/unicode.cpp @@ -193,9 +193,9 @@ void UnicodeTestCase::ToFromAscii() void UnicodeTestCase::ConstructorsWithConversion() { - // the string "Déjà" in UTF-8 and wchar_t: + // the string "Déjà" in UTF-8 and wchar_t: const unsigned char utf8Buf[] = {0x44,0xC3,0xA9,0x6A,0xC3,0xA0,0}; - const unsigned char utf8subBuf[] = {0x44,0xC3,0xA9,0x6A,0}; // just "Déj" + const unsigned char utf8subBuf[] = {0x44,0xC3,0xA9,0x6A,0}; // just "Déj" const char *utf8 = (char *)utf8Buf; const char *utf8sub = (char *)utf8subBuf; @@ -221,7 +221,7 @@ void UnicodeTestCase::ConstructorsWithConversion() CPPUNIT_ASSERT_EQUAL( sub, s4 ); // conversion should stop with failure at pos 35 - wxString s("\t[pl]open.format.Sformatuj dyskietkê=gfloppy %f", wxConvUTF8); + wxString s("\t[pl]open.format.Sformatuj dyskietk\xea=gfloppy %f", wxConvUTF8); CPPUNIT_ASSERT( s.empty() ); #endif // wxUSE_UNICODE -- 2.45.2