Load into result the UCS‐2 conversion of the null‐terminated UTF‐8 srcString. Return 0 on success and a non‐zero status otherwise.
Synopsis
Declared in <bdlde_charconvertucs2.h>
static
int
utf8ToUcs2(
std::pmr::vector<unsigned short>* result,
char const* srcString,
unsigned short errorCharacter = '?');
Created with MrDocs