From 8170836534f830801c9ff541e322c6e5d7d65164 Mon Sep 17 00:00:00 2001 From: mutouyun Date: Sat, 7 Aug 2021 18:37:23 +0800 Subject: [PATCH] utf-8 for test cpp --- test/test_platform.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_platform.cpp b/test/test_platform.cpp index e5a6400..4cbff16 100644 --- a/test/test_platform.cpp +++ b/test/test_platform.cpp @@ -11,8 +11,8 @@ #include "libipc/platform/to_tchar.h" TEST(Platform, to_tchar) { - char const *utf8 = "hello world, 低挫こんにちは"; - wchar_t const *wstr = L"hello world, 低挫こんにちは"; + char const *utf8 = "hello world, 篏絅緒<"; + wchar_t const *wstr = L"hello world, 篏絅緒<"; { ipc::string str = ipc::detail::to_tchar(utf8); EXPECT_STREQ(str.c_str(), utf8);