Skip to content

Commit f3a7838

Browse files
committed
Force UTF-8 for Shiny Express on Windows
1 parent 7d6a046 commit f3a7838

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shiny/express/_run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def express_server(input: Inputs, output: Outputs, session: Session):
9292

9393

9494
def run_express(file: Path) -> Tag | TagList:
95-
with open(file) as f:
95+
with open(file, encoding="utf-8") as f:
9696
content = f.read()
9797

9898
tree = ast.parse(content, file)

0 commit comments

Comments
 (0)