encode error msg from RD from Latin-1 to UTF-8