Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches

◆ UTF8ToNative()

std::string Ice::UTF8ToNative ( std::string_view str,
const StringConverterPtr & nc )

Converts the given string from UTF-8 to the native narrow string encoding using the given converter.

Parameters
strThe UTF-8 string.
ncThe narrow string converter. If null, the UTF-8 string is returned.
Returns
A native narrow string.