Handle non-ascii characters in messages and room names