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

char ' breaks the compilation #8

Open
olistik opened this issue Mar 23, 2011 · 0 comments
Open

char ' breaks the compilation #8

olistik opened this issue Mar 23, 2011 · 0 comments

Comments

@olistik
Copy link

olistik commented Mar 23, 2011

the charachter ' (html entity: & rsquo;) causes the compilation process to abort.

"\xE2" from ASCII-8BIT to UTF-8
/path/to/gems/closure-compiler-0.3.3/lib/closure/compiler.rb:28:in `write'
/path/to/gems/closure-compiler-0.3.3/lib/closure/compiler.rb:28:in `block in compile'
/path/to/gems/closure-compiler-0.3.3/lib/closure/popen.rb:56:in `popen'
/path/to/gems/closure-compiler-0.3.3/lib/closure/compiler.rb:22:in `compile'

I've found this character in Modernizr:

https://github.com/Modernizr/Modernizr/blob/master/modernizr.js#L541

by simply replacing it with the usual ' solves the problem.

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

No branches or pull requests

1 participant