Skip to content

Commit

Permalink
Set encoding to utf8
Browse files Browse the repository at this point in the history
  • Loading branch information
marksverdhei committed Jul 15, 2023
1 parent a95b9e1 commit 977845d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/context_paste/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def get_prompts_from_files(pattern) -> List[str]:


def get_file_prompt(filename):
with open(filename, "r") as f:
with open(filename, "r", encoding="UTF8") as f:
content = f.read()

template = """
Expand Down

0 comments on commit 977845d

Please sign in to comment.