Skip to content

Commit

Permalink
Merge pull request #149 from Shougo/utf-8
Browse files Browse the repository at this point in the history
Set utf-8
  • Loading branch information
Shougo authored Mar 6, 2020
2 parents bbfc89c + ebbc330 commit 950b78f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rplugin/python3/deoplete/sources/racer.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def gather_candidates(self, context):
return candidates

def get_results(self, context, command, col):
with tempfile.NamedTemporaryFile(mode='w') as tf:
with tempfile.NamedTemporaryFile(mode='w', encoding='utf-8') as tf:
tf.write("\n".join(self.vim.current.buffer))
tf.flush()

Expand Down

0 comments on commit 950b78f

Please sign in to comment.