aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bg/ResponseMetaData.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/bg/ResponseMetaData.js b/bg/ResponseMetaData.js
index 40ca3f3..41d1fe9 100644
--- a/bg/ResponseMetaData.js
+++ b/bg/ResponseMetaData.js
@@ -53,7 +53,7 @@ class ResponseMetaData {
}
get isUTF8() {
- return /^utf-8$/i.test(this.charset);
+ return /^utf-?8$/i.test(this.charset);
}
forceUTF8() {