Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explicitly set charset to UTF-8 when loading local scripts #75

Merged
merged 1 commit into from
Jun 25, 2018

Conversation

kachkaev
Copy link
Collaborator

@kachkaev kachkaev commented Jun 23, 2018

This prevents minified vega to throw an exception around a regexp, which becomes corrupt if a different encoding is used. The error was taking place in VSCode.

The reasons why this PR fails checks are addressed in #76. I'll rebase this commit once that PR lands master. @shd101wyy WDYT in general?

@kachkaev kachkaev requested a review from shd101wyy June 23, 2018 15:59
Copy link
Owner

@shd101wyy shd101wyy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Thank you!

@shd101wyy
Copy link
Owner

But TravisCI build failed.

This prevents minified vega to throw an exception around a regexp, which becomes corrupt if a different encoding is used. The error was taking place in VSCode.
@kachkaev kachkaev force-pushed the local-scripts-utf8 branch from d31f70a to 6daaa44 Compare June 25, 2018 20:04
@kachkaev
Copy link
Collaborator Author

Many thanks for your review @shd101wyy! The build was failing because of a breaking change in TS 2.9 (microsoft/TypeScript#24628). I addressed this in a6de16e and then rebased this PR on top of the latest master. Now the CI passes, so I merge 😉

@kachkaev kachkaev merged commit dd5b93e into master Jun 25, 2018
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