From: Feross Aboukhadijeh Date: Sat, 28 Dec 2013 07:25:21 +0000 (-0800) Subject: Remove unimplemented encoding types X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=b8cbc838c4bee9f89829792e651fc63b0203109c;p=buffer.git Remove unimplemented encoding types --- diff --git a/index.js b/index.js index 0845da6..950aca9 100644 --- a/index.js +++ b/index.js @@ -101,10 +101,6 @@ Buffer.isEncoding = function(encoding) { case 'ascii': case 'binary': case 'base64': - case 'ucs2': - case 'ucs-2': - case 'utf16le': - case 'utf-16le': case 'raw': return true