diff --git a/camelot/core.py b/camelot/core.py index 63425cc6..fef5a35b 100644 --- a/camelot/core.py +++ b/camelot/core.py @@ -597,7 +597,7 @@ def to_html(self, path, **kwargs): """ html_string = self.df.to_html(**kwargs) - with open(path, 'w') as f: + with open(path, 'w', encoding='utf-8') as f: f.write(html_string) def to_sqlite(self, path, **kwargs):