We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df8bca2 commit 8170836Copy full SHA for 8170836
test/test_platform.cpp
@@ -11,8 +11,8 @@
11
#include "libipc/platform/to_tchar.h"
12
13
TEST(Platform, to_tchar) {
14
- char const *utf8 = "hello world, 低挫�こんにちは";
15
- wchar_t const *wstr = L"hello world, 低挫�こんにちは";
+ char const *utf8 = "hello world, 你好,こんにちは";
+ wchar_t const *wstr = L"hello world, 你好,こんにちは";
16
{
17
ipc::string str = ipc::detail::to_tchar<char>(utf8);
18
EXPECT_STREQ(str.c_str(), utf8);
0 commit comments