Skip to content

Commit 2693340

Browse files
authored
base template: read README as utf-8 (#2064)
1 parent d5c7ced commit 2693340

File tree

1 file changed

+1
-1
lines changed
  • reflex/.templates/apps/base/code/pages

1 file changed

+1
-1
lines changed

reflex/.templates/apps/base/code/pages/index.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ def index() -> rx.Component:
1313
Returns:
1414
The UI for the home page.
1515
"""
16-
with open("README.md") as readme:
16+
with open("README.md", encoding="utf-8") as readme:
1717
content = readme.read()
1818
return rx.markdown(content, component_map=styles.markdown_style)

0 commit comments

Comments
 (0)