Questions tagged [encoding]

File encoding(s) such as ASCII, ISO-8859, UTF-8, etc.

12 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
319 views

Encoding issue with filename in MacVim

Question In MacVim I type :tabe jäderberg.txt to open a buffer for that file. The file does not yet exist. My status line displays the file name jäderberg.txt. I do i<C-r>% to put the file name ...
3
votes
0answers
154 views

Can't use special characters in listchars even if setting scriptencoding to utf-8

Here is my .vimrc file: set encoding=utf-8 scriptencoding utf-8 set list set listchars=tab:→· When I open vim, it will show an error message E474: Invalid argument: listchars=tab:→· My vim is Vi ...
3
votes
0answers
204 views

system function output with Chinese chars

I want to run shell command with system function and the command output has some Chinese chars. echo system('svn status') But I got incorrect encoding output like this: svn: ?\232?\173?\166?\229?\...
2
votes
0answers
28 views

Wrong width for certain characters

Using this: https://github.com/vim/vim-win32-installer/releases/download/v8.2.1505/gvim_8.2.1505_x64.zip All of these characters (and perhaps others): ℹ ⌨ ⏏ ⏭ ⏮ ⏯ ⏱ ⏲ ⏸ ⏹ ⏺ ☀ ☁ ☂ ☃ ☄ ☎ ☑ ☝ ☠ ☠️ ☢ ☣ ☦ ☪...
2
votes
0answers
238 views

VIM under Cygwin some characters missing

Just installed vim and vimified plugin set under cygwin. Everything works like a charm except one annoying issue - i can see some special symbols (like new line) and it seems that some characters are ...
1
vote
0answers
261 views

Terminus font broken in gVim on Fedora 31

I have just upgraded to Fedora 31 and see that my gVim with Terminus 12 font looks like this: Resetting the guifont option gives me a reasonable looking gVim back. How can I further diagnose this ...
1
vote
0answers
192 views

What encoding does :! use?

I'd like low-level control over exactly what bytes I send and receive from a process spawned from some vimscript. What encoding is used for communications with commands started with :!foo? Can I ...
1
vote
0answers
57 views

Reading in content from an external command with utf-8

I've got the following vim script to show a perldoc or per man page into a new tab and then rewrap it the text so it's more readable (I have a very wide monitor). nnoremap K :execute "tabnew <bar&...
0
votes
1answer
15 views

How to show Chinese characters in Floating Terminal inside Neovim?

As title. Also I'm using Neovim inside Tmux. I've tried both with/without Tmux and the results are the same:
0
votes
0answers
23 views

Windows save type breaks vim

So I wanted to use this plugin but if I start it, I'm getting this error message: (I changed that line a bit to hash('nvim') but the ^M still breaks the code because it has a the microsoft line-...
0
votes
0answers
92 views

My vim can't print Chinese right on my mac?

only the vim app can't show the Chinese right. I have checked the encoding, fileencoding and fileencodings configs, all of them are utf-8 at the first.
-1
votes
1answer
89 views

Chinese characters become unrecognizable overnight in neovim

I typed a lot of Chinese characters in neovim into a LaTeX file (.tex), and when I opened the file the next day all the characters became unrecognizable (everything looked great before I shut down my ...