Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

set charset argument to loadSubScript. only has any effect in gecko 2…

….0; previous versions still assume ASCII.
  • Loading branch information...
commit a6138f045126917d6cd798fe492ceda304ab9767 1 parent 387afa6
@notEthan notEthan authored committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  chrome/content/repl.js
View
2  chrome/content/repl.js
@@ -936,7 +936,7 @@ function evaluate(code) {
_.cacheKiller++;
var scriptUrl = _.TMP_FILE_URL + '?' + _.cacheKiller;
debug('evaluate', scriptUrl);
- var result = loader.loadSubScript(scriptUrl, this._workContext);
+ var result = loader.loadSubScript(scriptUrl, this._workContext, 'UTF-8');
this.$$ = result;
return result;
Please sign in to comment.
Something went wrong with that request. Please try again.