Closed jordr closed 1 year ago
We may need to process files written on/output by compilers on a system with a different locale.getencoding(), which is the default of open().
This patch exposes the encoding optional parameter of open to the parse_file API.
encoding
open
parse_file
We may need to process files written on/output by compilers on a system with a different locale.getencoding(), which is the default of open().
This patch exposes the
encoding
optional parameter ofopen
to theparse_file
API.