Load into result the UTF‐8 conversion of the null‐terminated UCS‐2 srcString. Optionally report characters written via numCharsWritten.
Synopsis
Declared in <bdlde_charconvertucs2.h>
static
int
ucs2ToUtf8(
std::string* result,
unsigned short const* srcString,
std::size_t* numCharsWritten = 0);
Created with MrDocs