Skip to content

Commit f5b13cf

Browse files
authored
docs: add documentation for characterSet
1 parent 670200d commit f5b13cf

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,10 @@ See the [original repository](https://github.com/soundasleep/html2text) for more
2525

2626
### Options
2727

28-
| Option | Default | Description |
29-
|---------------|---------|-----------------------------------------------------------------------------------------|
30-
| **dropLinks** | `false` | Set to `true` to not render links as `My Link` instead of `[https://foo.com](My Link)`. |
28+
| Option | Default | Description |
29+
|------------------|----------|-------------------------------------------------------------------------------------------|
30+
| **dropLinks** | `false` | Set to `true` to not render links as `My Link` instead of `[https://foo.com](My Link)`. |
31+
| **characterSet** | `'auto'` | Set to a specific character set to override the auto-detection with `mb_detect_encoding`. |
3132

3233
Pass along a configuration class as a second argument to `convert`, for example:
3334

0 commit comments

Comments
 (0)