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

Fix the browser compiler crashing on extended characters in script blocks #4375

Merged
merged 1 commit into from
Nov 28, 2016

Conversation

GeoffreyBooth
Copy link
Collaborator

Closes #4263, which is rather important because test/test.html has Japanese characters in a comment and therefore it doesn’t actually run in a browser without this fix 😄

…it is UTF-16 like the contents of a <script> block generally are
@GeoffreyBooth GeoffreyBooth merged commit ac20f66 into jashkenas:master Nov 28, 2016
@GeoffreyBooth GeoffreyBooth deleted the fix-script-unicode branch November 28, 2016 07:06
@jashkenas
Copy link
Owner

Super gross hack! But nice save!

@GeoffreyBooth GeoffreyBooth mentioned this pull request Nov 30, 2016
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.

script type=text/coffeescript tag does not support unicode (utf-8) properly
3 participants