vim-lsp
vim-lsp copied to clipboard
Garbled characters in popup windows
When displaying a popup window with LspPeekDefinition, etc., garbled characters occur if the encoding of the file is different from the vim's internal encoding. I have confirmed that by converting the encoding after readfile in handle_location of vim.vim as follows, the characters are not garbled.
call map(l:lines, 'iconv(v:val, &fileencoding, &encoding)')
There were other processes that used readfile, so similar measures may be necessary.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.