Skip to content

Commit

Permalink
[load][xs]: allow setting encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
zelima committed Oct 18, 2018
1 parent f8a4337 commit d647d81
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dataflows/processors/load.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ def process_datapackage(self, dp: Package):
descriptor = dict(path=self.load_source,
profile='tabular-data-resource')
descriptor['format'] = self.options.get('format')
descriptor['encoding'] = self.options.get('encoding')
self.options.setdefault('ignore_blank_headers', True)
self.options.setdefault('headers', 1)
self.res = Resource(descriptor,
Expand Down

0 comments on commit d647d81

Please sign in to comment.