diff options
-rw-r--r-- | tests/utf32.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/utf32.cpp b/tests/utf32.cpp index 810704d3..526efe76 100644 --- a/tests/utf32.cpp +++ b/tests/utf32.cpp @@ -6,7 +6,7 @@ // This code tests that utf32-encoded std::wstrings can be marshalled between C++ and JS. int main() { - std::wstring wstr = L"abc\u2603\u20AC123"; // U+2603 is snowman, U+20AC is the Euro sign. + std::wstring wstr = L"abc\u2603\u20AC\U0002007C123 --- abc\u2603\u20AC\U0002007C123"; // U+2603 is snowman, U+20AC is the Euro sign, U+2007C is a Chinese Han character that looks like three raindrops. const int len = (wstr.length()+1)*4; char *memory = new char[len]; |