mitre / data-owner-tools

Tools for the Childhood Obesity Data Initiative (CODI) data owners and partners to use in record linkage
Apache License 2.0
5 stars 8 forks source link

Encoding fix #53

Closed dehall closed 1 year ago

dehall commented 1 year ago

Fixes a bug experienced on Windows when using the CSV extractor. Python uses the default system encoding when reading files if not otherwise specified, and if there are special characters this will cause an exception. The fix is to explicitly specify an encoding like UTF-8.

Also takes this opportunity to add a little QOL change and specify the name of the PII output file we're writing.