Does gloox support Unicode and/or UTF-8?
Short answer: yes. Long answer: It supports UTF-8 which is the only character encoding supported by XMPP. gloox handles this perfectly fine using std::string and there is no need to compile gloox with UNICODE defined. If your platform’s character encoding is not UTF-8 you have to convert it to UTF-8 before feeding data into gloox.