Dear Mark, > Please try the attached patch, it avoids testing Encode::is_utf8 > and just calls safe_encode() unconditionally. Thank you very much for your answer and the patch. Best regards from Germany, Peer Dieth