aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/http_observer/process_response.js2
-rw-r--r--lib/http_observer/stream_loader.js2
-rw-r--r--lib/script_entries/crypto.js1
3 files changed, 2 insertions, 3 deletions
diff --git a/lib/http_observer/process_response.js b/lib/http_observer/process_response.js
index 000daa2..ae643ab 100644
--- a/lib/http_observer/process_response.js
+++ b/lib/http_observer/process_response.js
@@ -391,7 +391,7 @@ var processResponseObject = {
) {
converter.charset = this.req.contentCharset;
} else {
- converter.charset = "utf-8";
+ converter.charset = "UTF-8";
}
var stream = converter.convertToInputStream(this.data);
diff --git a/lib/http_observer/stream_loader.js b/lib/http_observer/stream_loader.js
index 09b4a63..ec21cb7 100644
--- a/lib/http_observer/stream_loader.js
+++ b/lib/http_observer/stream_loader.js
@@ -148,7 +148,7 @@ StreamListener.prototype.onDetermineCharset = function onDetermineCharset(
loader.channel.contentCharset = match[1];
return match[1];
} else {
- return "utf-8";
+ return "UTF-8";
}
}
};
diff --git a/lib/script_entries/crypto.js b/lib/script_entries/crypto.js
index 5fb920f..d8d9c0a 100644
--- a/lib/script_entries/crypto.js
+++ b/lib/script_entries/crypto.js
@@ -34,7 +34,6 @@ CryptoString.prototype.init = function(hashAlgorithm, charset) {
this.converter.charset = charset;
this.hashAlgorithm = hashAlgorithm;
this.cryptoHash.init(this.cryptoHash[this.hashAlgorithm]);
-
};
CryptoString.prototype.encryptString = function(str) {