Thursday, November 14, 2013

Encoding Issues on Windows

My encoding settings look as follows:

if has('multi_byte')
if empty(&termencoding)
let &termencoding = &encoding
endif
let &encoding = 'utf-8'
let &fileencoding = 'utf-8'
endif

I have no problems running under GVim: can type any characters, and my patched Consolas for Powerline works just fine. The problems start when I try to run Vim in terminal mode. I use ConEmu (https://code.google.com/p/conemu-maximus5/). a feature-rich terminal emulator for Windows. It claims to officially support Unicode out of the box. Furthermore, reading through `:h termencoding`, I see that Win32 uses Unicode by default to pass symbols. Now, the problem is that I don't understand why when I type anything non-ANSI in terminal Vim, I see `?` symbols? Furthermore, Airline does not display fancy symbols from patched Consolas as well. How to configure true Unicode for terminal Vim on Win32?

Thanks, regards.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: