frictionlessdata / datapackage-py

A Python library for working with Data Packages.
https://frictionlessdata.io
MIT License
189 stars 44 forks source link

Don't add default resource encoding #212

Closed vitorbaptista closed 6 years ago

vitorbaptista commented 6 years ago

The encoding isn't required by the specification, and using UTF-8 by default breaks when inferring data that isn't UTF-8. Instead, we add the encoding inferred by the data.

TODO: If/when this is merged, update datapackage-js as well

Related to https://github.com/frictionlessdata/goodtables-py/issues/257