fix unicodeconflictresolver that was raising the same error when logging the text