We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0afc39e commit 57c3557Copy full SHA for 57c3557
schemascii/__init__.py
@@ -11,7 +11,7 @@
11
def render(filename: str, text: str = None, **options) -> str:
12
"Render the Schemascii diagram to an SVG string."
13
if text is None:
14
- with open(filename) as f:
+ with open(filename, encoding="ascii") as f:
15
text = f.read()
16
# get everything
17
grid = Grid(filename, text)
0 commit comments