Allow options to override default encoding type (gh-31)