Skip to content

Commit 7b0ab4a

Browse files
Fixes #87
Fixes saving utf-8 characters
1 parent a3f76fc commit 7b0ab4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ffmpeg_streaming/ffprobe.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def save_as_json(self, path):
112112
"""
113113
@TODO: add documentation
114114
"""
115-
with open(path, 'w') as probe:
115+
with open(path, 'w', encoding='utf-8') as probe:
116116
probe.write(self.out.decode('utf-8'))
117117

118118
@property

0 commit comments

Comments
 (0)