Built-in String Converters

Ice provides three string converters to cover common conversion requirements:

  • UnicodeWstringConverter
    This is a string converter that converts between Unicode wide strings and UTF-8 strings. Unless you install a different string converter, this is the default converter that is used for wide strings.
  • IconvStringConverter (Linux and Unix only)
    The iconv string converter converts strings using the Linux and Unix iconv conversion facility. It can be used to convert either wide or narrow strings.
  • WindowsStringConverter (Windows only)
    This string converter converts between multi-byte and UTF-8 strings and uses MultiByteToWideChar and WideCharToMultiByte for its implementation.

These string converters are defined in the IceUtil namespace.

See Also