Skip to content

Commit

Permalink
Merge pull request #63 from follower/patch-1
Browse files Browse the repository at this point in the history
Typo fix: "sinlge" -> "single"
  • Loading branch information
thejoshwolfe authored Oct 19, 2024
2 parents 9402bf2 + 926d9f0 commit a00857e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ If `comment` is a `Buffer`, it should be a CP437 encoded string.
This becomes the ".ZIP file comment" field in the end of central directory record.
Note that in practice, most zipfile readers interpret this field in UTF-8 instead of CP437.
If your string uses only codepoints in the range `0x20...0x7e`
(printable ASCII, no whitespace except for sinlge space `' '`),
(printable ASCII, no whitespace except for single space `' '`),
then UTF-8 and CP437 (and ASCII) encodings are all identical.
This restriction is recommended for maxium compatibility.
To use UTF-8 encoding at your own risk, pass a `Buffer` into this function; it will not be validated.
Expand Down

0 comments on commit a00857e

Please sign in to comment.