Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant get powerline fonts to work (need utf-8?) #225

Closed
pmcmorris opened this issue Jul 28, 2014 · 2 comments
Closed

Cant get powerline fonts to work (need utf-8?) #225

pmcmorris opened this issue Jul 28, 2014 · 2 comments

Comments

@pmcmorris
Copy link

I've recently gotten the vim-powershell working in vim and it looks great. GVim was pretty easy (for linux and windows) and with a bit of extra work I got the fancy fonts in my terminal on Ubuntu also. But I can't seem to make it work under cmder on windows.

The main problem is that even after I switch to the powerline font, the additional glyphs are never used. I just see a bunch of ascii extended chars. I can't seem to get cmder to use utf-8. Is that possible?

@RefusesNames
Copy link

This not a specific problem of cmder, but rather of cmd in general, which does not use UTF-8 by default.
You can just add a "@Chcp 65001 >nul" at the bottom of the vendor/init.bat. This switches the code page to UTF-8.
For further information, please refer to http://illegalargumentexception.blogspot.de/2009/04/i18n-unicode-at-windows-command-prompt.html

@pmcmorris
Copy link
Author

Sorry for the delay, I did actually get utf-8 symbols working under Cmder using this. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants