Skip to content

Commit 897934a

Browse files
Trottevanlucas
authored andcommitted
doc: copyedit maxBuffer note for child_process
PR-URL: #6760 Reviewed-By: Roman Klauke <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent c1bf3fc commit 897934a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/api/child_process.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1040,9 +1040,9 @@ to the same value.
10401040
## `maxBuffer` and Unicode
10411041

10421042
It is important to keep in mind that the `maxBuffer` option specifies the
1043-
largest number of *octets* allowed on `stdout` or `stderr` - if this value is
1044-
exceeded then the child process is terminated. This particularly impacts
1045-
output that includes multi-byte character encodings such as UTF-8 or UTF-16.
1043+
largest number of *octets* allowed on `stdout` or `stderr`. If this value is
1044+
exceeded, then the child process is terminated. This particularly impacts
1045+
output that includes multibyte character encodings such as UTF-8 or UTF-16.
10461046
For instance, the following will output 13 UTF-8 encoded octets to `stdout`
10471047
although there are only 4 characters:
10481048

0 commit comments

Comments
 (0)