Fixes NB#110349, added support to render messages with different encodings to UTF-8