Skip to content

Commit f3f9ae2

Browse files
committed
Edited doc.md via GitHub
1 parent 9ca8e32 commit f3f9ae2

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

doc.md

+10-4
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,17 @@ Becomes with UTF-8 and Quoted-printable encoding
5959

6060
Decodes a string from mime encoded word format (see also `encodeMimeWord`)
6161

62-
mimelib.decodeMimeWord(str [, encoding][, charset]) -> String
62+
mimelib.decodeMimeWord(str) -> String
6363

64-
- `str` (String): String to be encoded
65-
- `encoding` (String): Encoding Q for quoted printable or B (def.) for base64
66-
- `charset` (String): Charset to be used, defaults to UTF-8
64+
- `str` (String): String to be decoded
65+
66+
For example
67+
68+
mimelib.decodeMimeWord("=?UTF-8?q?See_on_=C3=B5hin_test?=");
69+
70+
will become
71+
72+
See on õhin test
6773

6874
## encodeQuotedPrintable
6975

0 commit comments

Comments
 (0)