diff options
author | Steven Guerrero <42647963+Soremwar@users.noreply.github.com> | 2020-07-14 13:30:03 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-14 14:30:03 -0400 |
commit | fe8399973a5a1dd8a21cbb6edc88415feb83b2ef (patch) | |
tree | b6c7caa2156bf4694471d913775d2b7bcf7b0d4c /std/node/buffer.ts | |
parent | e5724e61189b01bb373b914fb733139a399ac996 (diff) |
feat(std/node): add string_decoder (#6638)
Diffstat (limited to 'std/node/buffer.ts')
-rw-r--r-- | std/node/buffer.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/std/node/buffer.ts b/std/node/buffer.ts index dae04a66e..9c8d8784c 100644 --- a/std/node/buffer.ts +++ b/std/node/buffer.ts @@ -3,11 +3,11 @@ import * as base64 from "../encoding/base64.ts"; import { notImplemented, normalizeEncoding } from "./_utils.ts"; const notImplementedEncodings = [ - "utf16le", - "latin1", "ascii", "binary", + "latin1", "ucs2", + "utf16le", ]; function checkEncoding(encoding = "utf8", strict = true): string { |