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

◆ nativeToUTF8()

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

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

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