| Znav |
|---|
| next | The iconv String Converter |
|---|
| prev | Built-in String Converters |
|---|
|
The Ice namespace provides four convenience functions that make it easy to convert strings to and from UTF?8:
| Wiki Markup |
|---|
{zcode:cpp}
namespace Ice {
std::string nativeToUTF8(const Ice::StringConverterPtr&, const std::string&);
std::string nativeToUTF8(const Ice::CommunicatorPtr&, const std::string&);
std::string UTF8ToNative(const Ice::StringConverterPtr&, const std::string&);
std::string UTF8ToNative(const Ice::CommunicatorPtr&, const std::string&);
}
{zcode} |
The overloads allow you to either use the string converter that is configured on a communicator or to explicitly pass a specific string converter that performs the conversion.
See Also
| Znav |
|---|
| next | The iconv String Converter |
|---|
| prev | Built-in String Converters |
|---|
|