projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
30dfb74
)
added test UTF-16 string with embedded NUL NUL not terminating the string
author
Vadim Zeitlin
<vadim@wxwidgets.org>
Sun, 2 Apr 2006 13:45:58 +0000
(13:45 +0000)
committer
Vadim Zeitlin
<vadim@wxwidgets.org>
Sun, 2 Apr 2006 13:45:58 +0000
(13:45 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38519
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
tests/strings/unicode.cpp
patch
|
blob
|
blame
|
history
diff --git
a/tests/strings/unicode.cpp
b/tests/strings/unicode.cpp
index f7ea978f4ead730b2581986dc6c8841d57e370fb..064ae7568628af697bd25c30afb010fec96dcef2 100644
(file)
--- 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" },
};