Skip to content
This repository has been archived by the owner on Jun 10, 2018. It is now read-only.

Adding '#encoding: UTF-8' comment to fix 'incompatible character encoding: /[\u0080-\uffff]/' error #125

Closed
wants to merge 1 commit into from

Conversation

jasongilman
Copy link

I kept experiencing the following error using execjs with JRuby

SyntaxError - (RegexpError) incompatible character encoding: /[\u0080-\uffff]/:
vendor/bundle/jruby/1.9/gems/execjs-1.4.0/lib/execjs/external_runtime.rb:74:in `encode_unicode_codepoints'

The error goes away if the # encoding: UTF-8 comment is added at the top of external_runtime.rb.

@josh
Copy link
Contributor

josh commented Mar 12, 2015

This repository has been deprecated and has moved to https://github.com/rails/execjs.

@josh josh closed this Mar 12, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants