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

Garbled characters in popup windows

Open yamam opened this issue 2 years ago • 1 comments

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.

yamam avatar May 05 '22 00:05 yamam

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.

stale[bot] avatar Jul 10 '22 05:07 stale[bot]