We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
utf8
1 parent bd9303e commit 363b853Copy full SHA for 363b853
myst_parser/cli.py
@@ -13,14 +13,14 @@ def print_anchors(args=None):
13
arg_parser.add_argument(
14
"input",
15
nargs="?",
16
- type=argparse.FileType("r"),
+ type=argparse.FileType("r", encoding="utf8"),
17
default=sys.stdin,
18
help="Input file (default stdin)",
19
)
20
21
"-o",
22
"--output",
23
- type=argparse.FileType("w"),
+ type=argparse.FileType("w", encoding="utf8"),
24
default=sys.stdout,
25
help="Output file (default stdout)",
26
0 commit comments