MCPcopy Create free account
hub / github.com/MhLiao/TextBoxes_plusplus / WideStringToUtf8

Function WideStringToUtf8

src/gtest/gtest-all.cpp:2807–2829  ·  view source on GitHub ↗

Converts a wide string to a narrow string in UTF-8 encoding. The wide string is assumed to have the following encoding: UTF-16 if sizeof(wchar_t) == 2 (on Windows, Cygwin, Symbian OS) UTF-32 if sizeof(wchar_t) == 4 (on Linux) Parameter str points to a null-terminated wide string. Parameter num_chars may additionally limit the number of wchar_t characters processed. -1 is used when the entire strin

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

StreamWideCharsToMessageFunction · 0.85
ShowWideCStringMethod · 0.85

Calls 4

IsUtf16SurrogatePairFunction · 0.85
CodePointToUtf8Function · 0.85
StringStreamToStringFunction · 0.85

Tested by

no test coverage detected