Skip to content

Commit 1fe9ffd

Browse files
committed
Add utf-8 encoding
Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
1 parent 6e65916 commit 1fe9ffd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/python_inspector/resolve_cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -416,9 +416,9 @@ def resolver_api(
416416

417417
if not ctx:
418418
if json_output:
419-
json_output = open(json_output, "w")
419+
json_output = open(json_output, mode="w", encoding="utf-8")
420420
if pdt_output:
421-
pdt_output = open(pdt_output, "w")
421+
pdt_output = open(pdt_output, mode="w", encoding="utf-8")
422422

423423
if json_output:
424424
write_output(

0 commit comments

Comments
 (0)