properly terminate UTF-32 test string
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
39406a5d05
commit
72b2fc5c80
@ -282,7 +282,8 @@ void UnicodeTestCase::ConversionUTF32()
|
||||
static const StringConversionData utf32data[] =
|
||||
{
|
||||
#ifdef wxHAVE_U_ESCAPE
|
||||
{ "\0\0\x04\x1f\0\0\x04\x40\0\0\x04\x38\0\0\x04\x32\0\0\x04\x35\0\0\x04\x42\0\0",
|
||||
{
|
||||
"\0\0\x04\x1f\0\0\x04\x40\0\0\x04\x38\0\0\x04\x32\0\0\x04\x35\0\0\x04\x42\0\0\0\0",
|
||||
L"\u041f\u0440\u0438\u0432\u0435\u0442" },
|
||||
#endif
|
||||
{ "\0\0\0f\0\0\0o\0\0\0o\0\0\0\0", L"foo" },
|
||||
|
Loading…
Reference in New Issue
Block a user