0

I have clone the repos of powerfonts and install it. And I config my vim as

let g:airline_powerline_fonts=1

However it doesn't work on debian, even I clean the font cache and restart server. But it does work on my mac.

I wonder what's wrong with it. Should I config font on debian?

mickeyandkaka
  • 1,452
  • 2
  • 11
  • 21

1 Answers1

1

It is a locale issue.

A locale is a set of language and cultural rules. These cover aspects such as language for messages, different character sets, lexicographic conventions, and so on. A program needs to be able to determine its locale and act accordingly to be portable to different cultures.

You can set language using these environment variables

  • LANG
  • LANGUAGE
  • LINGUAS
  • LC_COLLATE
  • LC_ALL

In this case, setting LANG = "en_US.UTF-8" in .bashrc, .zshrc or .bash_profile will solve the problems.

or you can set LC_ALL="en_US.UTF-8"

sudo bangbang
  • 27,127
  • 11
  • 75
  • 77