Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion great_tables/_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,8 @@ def save(
file = str(Path(file).with_suffix(".png"))

# Get the HTML content from the displayed output
html_content = as_raw_html(self)
# Prepend utf-8 charset so the Chrome webdriver renders unicode correctly
html_content = "<meta charset='utf-8'>" + as_raw_html(self)

wdriver = _get_web_driver(web_driver)

Expand Down
Loading