Searched refs:SysWideToUTF8 (Results 1 – 1 of 1) sorted by relevance
343 static std::string SysWideToUTF8(const std::wstring& utf16) { in SysWideToUTF8() function363 TEST(SysStrings, SysWideToUTF8) { in TEST() argument364 EXPECT_EQ("Hello, world", SysWideToUTF8(L"Hello, world")); in TEST()365 EXPECT_EQ("\xe4\xbd\xa0\xe5\xa5\xbd", SysWideToUTF8(L"\x4f60\x597d")); in TEST()368 EXPECT_EQ("\xF0\x90\x8C\x80", SysWideToUTF8(kSysWideOldItalicLetterA)); in TEST()388 EXPECT_EQ(expected_null, SysWideToUTF8(wide_null)); in TEST()