I\'m struggling to get started with the C++ ICU library. I have tried to get the simplest example to work, but even that has failed. I would just like to output a UTF-8 stri
operator<<(ostream, UnicodeString) converts between UTF16 and chars by using ICU's "default converter". AFAIU, the "default converter" (if you don't set it explicitly with ucnv_setDefaultName()) depends on the platform and the way ICU was compiled. What do you get from ucnv_getDefaultName()?