Fix lastReply message formatting; add UTF-8 unit tests