Fixed non-printable characters in chat messages