Another test with 3 files : "1.cpp" : UTF-8 file with French accented characters. "2.cpp" : the same file but with Latin-1 charset. "3.cpp" : a file to test 'include' completion.
Yes, it's a bit strange because it's not a great idea to work with different encodings. But it shows the problem. :) Put the 3 files in the same directory. Run Gvim, set your 'encoding' to 'latin1'. Edit 3.cpp file. Type, before the comment, CTRL-x CTRL-i for 'include' completion. Words from "1.cpp" are not displayed in the completion menu because words are not converted to the current encoding. Run Gvim, set your 'encoding' to 'utf-8'. Edit 3.cpp file. Type, before the comment, CTRL-x CTRL-i for 'include' completion. Words from "2.cpp" are displayed but you have a display bug with the completion menu because words are not converted to the current encoding. Regards. -- Gombault Damien | Powered by Gentoo Linux AMD64
another_test.tar.gz
Description: application/tgz