diff options
-rw-r--r-- | src/lib/ResponseMetaData.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ResponseMetaData.js b/src/lib/ResponseMetaData.js index 17e1608..0d86745 100644 --- a/src/lib/ResponseMetaData.js +++ b/src/lib/ResponseMetaData.js @@ -27,7 +27,7 @@ class ResponseMetaData { } get isUTF8() { - return /^utf-8$/i.test(this.charset); + return /^utf-?8$/i.test(this.charset); } forceUTF8() { |