Skip to content

Conversation

@rkuzsma
Copy link

@rkuzsma rkuzsma commented Feb 19, 2017

Would you consider making the HAR file encoding more explicit here?

http://www.softwareishard.com/blog/har-12-spec/ says that HAR archives must be in UTF-8 format. An approach like this proposed change could fix issues on operating systems in which the default file encoding is not UTF-8. For example, the default encoding on official Ruby docker images is US-ASCII, which creates problems when reading some HARs.

This line has been unchanged for 6 years, so changing it now could cause backwards compatibility issues in the general case. I am able to work around this problem locally by monkey-patching this class.

Would you consider making the HAR file encoding more explicit? http://www.softwareishard.com/blog/har-12-spec/ says that HAR archives must be in UTF-8 format. An approach like this proposed change could fix issues on operating systems in which the default file encoding is not UTF-8.
@coveralls
Copy link

coveralls commented Feb 19, 2017

Coverage Status

Coverage remained the same at 86.598% when pulling 3bf6117 on rkuzsma:patch-1 into 93a1132 on jarib:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants