Skip to content

Added explicit utf-8 encoding to two steps where html is written#18

Open
awight-watershed wants to merge 1 commit into
ingcoder:mainfrom
awight-watershed:encoding-fix
Open

Added explicit utf-8 encoding to two steps where html is written#18
awight-watershed wants to merge 1 commit into
ingcoder:mainfrom
awight-watershed:encoding-fix

Conversation

@awight-watershed
Copy link
Copy Markdown

The utf-8 encoding is required on line 635 because that HTML file has the angstrom symbol, which can't be encoded in ASCII. The change on line 583 was not strictly necessary in my tests, since that HTML file lacks any non-ASCII characters, but for consistency's sake I thought we should have both writes be in utf-8, especially if that other HTML file is ever changed in the future.

…ile.

The utf-8 encoding is required on line 635 because that HTML file has the angstrom symbol, which can't be encoded in ASCII. The change on line 583 was not strictly necessary in my tests, since that HTML file lacks any non-ASCII characters, but for consistency's sake I thought we should have both writes be in utf-8, especially if that other HTML file is ever changed in the future.
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.

1 participant