Fix encoding exception data accessors and #convert exc creation.