neovim/python-client — pull request #42 by equalsraf (2014-10-18 14:39:39+00:00)
Title: Use &encoding for msgpack Packer

- This commit disables automatic encoding of Unicode strings until
&encoding is retrieved, and then resets the packer to use &encoding
- Previously the msgpack Packer always encoded Unicode as utf-8

I have not checked, but I think this was working previously and regressed. Basically this example should use &encoding instead of utf8

```
vim.current.line = u'¬'
```

This follows from #41. But it is not python3 specific.