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.
2 parents 127476c + 0dd203f commit f9338c4Copy full SHA for f9338c4
autoload/pymode/run.vim
@@ -31,7 +31,7 @@ fun! pymode#run#Run(line1, line2) "{{{
31
python << EOF
32
if out:
33
vim.command("call pymode#TempBuffer()")
34
- vim.current.buffer.append([x.encode(enc) for x in out.split('\n')], 0)
+ vim.current.buffer.append([x.decode("utf-8").encode(enc) for x in out.split('\n')], 0)
35
vim.command("wincmd p")
36
else:
37
vim.command('call pymode#WideMessage("No output.")')
0 commit comments