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
This commit is contained in:
parent
3396739da1
commit
4bc9acbe16
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user