From fe8399973a5a1dd8a21cbb6edc88415feb83b2ef Mon Sep 17 00:00:00 2001 From: Steven Guerrero <42647963+Soremwar@users.noreply.github.com> Date: Tue, 14 Jul 2020 13:30:03 -0500 Subject: feat(std/node): add string_decoder (#6638) --- std/node/buffer.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'std/node/buffer.ts') 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 { -- cgit v1.2.3