Skip to content

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

Merged
GeoffreyBooth merged 1 commit intojashkenas:masterfrom
GeoffreyBooth:fix-script-unicode
Nov 28, 2016
Merged

Fix the browser compiler crashing on extended characters in script blocks#4375
GeoffreyBooth merged 1 commit intojashkenas:masterfrom
GeoffreyBooth:fix-script-unicode

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
EsrefDurna pushed a commit to EsrefDurna/coffeescript that referenced this pull request Nov 12, 2025
…it is UTF-16 like the contents of a <script> block generally are (jashkenas#4375)
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