diff --git a/lib/buffer.js b/lib/buffer.js index 39cd5f9e58b9f8..a32484d3e36f0f 100644 --- a/lib/buffer.js +++ b/lib/buffer.js @@ -185,6 +185,7 @@ Buffer.isEncoding = function(encoding) { case 'utf16le': case 'utf-16le': case 'raw': + case 'raws': return true; default: