Skip to content

Conversation

SRIKAR-8-77
Copy link

Description

Fixes #741.

The plotly.JSONDataset lacks a file encoding on save, resulting in a UnicodeDecodeError when reloading charts containing special characters on non-UTF-8 systems.

This PR resolves the bug by modifying the DEFAULT_FS_ARGS class attribute on line 55 to add encoding="utf-8" by default for save operations. This makes the save action consistent with the current utf-8 decode on load to provide consistent reliability.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

plotly.JSONDataset not saved as utf-8
1 participant