diff --git a/doc/api/fs.markdown b/doc/api/fs.markdown index 6898a9e1bde..9da32d37638 100644 --- a/doc/api/fs.markdown +++ b/doc/api/fs.markdown @@ -823,7 +823,7 @@ Returns a new WriteStream object (See `Writable Stream`). `options` is an object with the following defaults: { flags: 'w', - encoding: null, + defaultEncoding: 'utf8', fd: null, mode: 0666 }