Fix bug where non-ascii messages weren't being printed.