vim-pandoc icon indicating copy to clipboard operation
vim-pandoc copied to clipboard

Completion fails on unicode characters in .bib

Open adamgd opened this issue 8 years ago • 2 comments

I am running two versions of Vim on Windows: Vim 8.0 (compiled 2016 Sep 12), and Neovim v0.2.0-1305-g4639778c. The former uses python 2.7.11 (my system-wide python) and the latter uses python3 in a virtualenv.

Autocomplete of citations works fine in all cases I've tested on the Vim 8.0 / python 2 instance. In neovim / python 3, however, the autocomplete chokes on unicode characters (curly quotes, to be precise). This is true of both the fallback and citeproc completion backends. Is this to be expected, and if so, is there a workaround other than converting the biobliography file to another encoding?

adamgd avatar Apr 20 '17 21:04 adamgd

I ran into something similar on unix platform. It turned out that locale settings were not set to support unicode.

dilawar avatar Apr 09 '18 07:04 dilawar

@adamgd vim-pandoc uses python3 exclusively now, so the problem should exist in any version (actually, it should not work at all in vim8+python2). I'll check it out when I have time.

A minimal sample bibliography would be helpful to test this.

fmoralesc avatar Apr 13 '18 21:04 fmoralesc