From 53cc05c7ff955b1f837899c3ceff3d6c4cf4cecb Mon Sep 17 00:00:00 2001 From: j Date: Sun, 9 Sep 2018 14:34:11 +0200 Subject: [PATCH] file writes utf-8 by default now --- srt2fcp.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srt2fcp.py b/srt2fcp.py index 59b7dc0..eb2375b 100755 --- a/srt2fcp.py +++ b/srt2fcp.py @@ -338,10 +338,10 @@ class Fcp: def save(self, output): with open(output, 'w') as f: - f.write(fcp_header.encode('utf-8')) + f.write(fcp_header) for s in self.sequences: - f.write(s.encode('utf-8')) - f.write(fcp_footer.encode('utf-8')) + f.write(s) + f.write(fcp_footer) if __name__ == '__main__':