added utf-8 encoding of message string