From: Vadim Zeitlin Date: Sun, 2 Apr 2006 13:45:58 +0000 (+0000) Subject: added test UTF-16 string with embedded NUL NUL not terminating the string X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f98452a969838c323e55cc4137484a4d81ebb854 added test UTF-16 string with embedded NUL NUL not terminating the string git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/tests/strings/unicode.cpp b/tests/strings/unicode.cpp index f7ea978f4e..064ae75686 100644 --- a/tests/strings/unicode.cpp +++ b/tests/strings/unicode.cpp @@ -255,6 +255,7 @@ void UnicodeTestCase::ConversionUTF16() #ifdef wxHAVE_U_ESCAPE { "\x04\x1f\x04\x40\x04\x38\x04\x32\x04\x35\x04\x42\0\0", L"\u041f\u0440\u0438\u0432\u0435\u0442" }, + { "\x01\0\0b\x01\0\0a\x01\0\0r\0\0", L"\u0100b\u0100a\u0100r" }, #endif { "\0f\0o\0o\0\0", L"foo" }, };