Skip to content

Commit 3caf053

Browse files
Oskar Köökjimmywarting
authored andcommitted
fix autoBom documentation
1 parent 04ca364 commit 3caf053

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ import { saveAs } from 'file-saver';
6060
```
6161

6262
```js
63-
FileSaver saveAs(Blob/File/Url, optional DOMString filename, optional Object { autoBOM })
63+
FileSaver saveAs(Blob/File/Url, optional DOMString filename, optional Object { autoBom })
6464
```
6565

66-
Pass `{ autoBOM: true }` if you want FileSaver.js to automatically provide Unicode text encoding hints (see: [byte order mark](https://en.wikipedia.org/wiki/Byte_order_mark)).
66+
Pass `{ autoBom: true }` if you want FileSaver.js to automatically provide Unicode text encoding hints (see: [byte order mark](https://en.wikipedia.org/wiki/Byte_order_mark)). Note that this is only done if your blob type has `charset=utf-8` set.
6767

6868
Examples
6969
--------

0 commit comments

Comments
 (0)