Not really an ideal fix, as it will allow many illegal characters to be exchanged, which may opens a DOS attack vector.
I've commited r13995 and r13996, which fixes the emoji problem for openfire and keeps the strictnes wrt illegal unicode characters in XMPP/XML.