From 6c58cd78a5b764a8f7a6a1c9ad16bb7a01e2b7ee Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 23 Oct 2008 13:08:02 +0000 Subject: [PATCH] use hex escapes instead of 8 bit characaters (#10105) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- tests/xlocale/xlocale.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/xlocale/xlocale.cpp b/tests/xlocale/xlocale.cpp index d0502e4887..07172bb09c 100644 --- a/tests/xlocale/xlocale.cpp +++ b/tests/xlocale/xlocale.cpp @@ -177,10 +177,10 @@ void XLocaleTestCase::TestCtypeFunctions() TestCtypeFunctionsWith(locFR); - CPPUNIT_ASSERT( wxIsalpha_l('é', locFR) ); - CPPUNIT_ASSERT( wxIslower_l('é', locFR) ); - CPPUNIT_ASSERT( !wxIslower_l('É', locFR) ); - CPPUNIT_ASSERT( wxIsupper_l('É', locFR) ); + CPPUNIT_ASSERT( wxIsalpha_l('\xe9', locFR) ); + CPPUNIT_ASSERT( wxIslower_l('\xe9', locFR) ); + CPPUNIT_ASSERT( !wxIslower_l('\xc9', locFR) ); + CPPUNIT_ASSERT( wxIsupper_l('\xc9', locFR) ); #endif } -- 2.45.2